[insert_php]

if ( md_is_mobile() )
/* Uses md_is_mobile function stored in enfold_child theme functions.php file . This function excludes the iPad and some other tablets since they are capable of dealing with larger images. */
{

$gallery_display = ‘

‘ ;

}
else
{
$gallery_display = ‘

‘ ;
}
echo(‘To rotate gallery sphere hold down left mouse click and move mouse….to select a photo, click on it’);

echo($gallery_display);
if( wp_is_mobile())
{
/* add link to traditional gallery for all mobile devices including tablets */
}

[/insert_php]