Steven - updating versions was all it took! I should have thought of that. Thank you so much.

I have 2 sites both of which use Juicebox and I'm only having issues with one site NOT opening up in full screen when tapping the splash image from a mobile device.

I've spent a considerable amount of time trying to figure out the differences and have even started from scratch with one of the example pages that renders perfectly in fullscreen on my mobile device.

Here is the site that opens in full screen after tapping the splash image from a mobile device:
http://www.oscarstewart.com/photos.html

Here is the site that does NOT open in full screen after tapping the splash image from a mobile device:
http://www.jacobstewart.com/photos4.html

I simplified my code on the site that is NOT working to mimic the code at http://www.juicebox.net/demos/support/r … /gallery1/

Can someone help me figure out why my site isn't opening in fullscreen like the demo?

Thanks a Gazillion.

Awesome! It works! Thanks Steven.

Thanks for getting back to me so quickly. Here is the code of my config.php:

<?php
header("Content-type: application/xml");
function GetDirArray($folder)
{
    $handle=opendir($folder);
    while ($file=readdir($handle))
    {
        if ($file!="." && $file!="..")
        {
            $ret[count($ret)]=$file;
        }
    }
    closedir($handle);
    sort($ret);
    return $ret;
}
$gallery=GetDirArray('images');
echo '<?xml version="1.0" encoding="UTF-8"?>';
echo '<juiceboxgallery title="Juicebox Gallery">';
for ($i=0; $i<sizeof($gallery); $i++)
{
    echo '<image imageURL="http://www.oscarstewart.com/images/'.$gallery[$i].'" thumbURL="images/'.$gallery[$i].'" linkURL="" linkTarget="">';
    echo '<title></title>';
    echo '<caption></caption>';
    echo '</image>';
}
echo '</juiceboxgallery>';
?>

Thoughts? And thanks in advance!

First off, I love Juicebox. So, thanks for making an incredible product.

I'm using a config.php file to create a gallery from images in a folder. I noticed that by default, the images are sorted in ascending order....and I want them sorted in descending order so the gallery shows the newest image first.

I've been racking my brain and searching the interwebs looking for a php script to help me rename files to a new directory in the reverse order but I'm coming up empty handed.

Any ideas on how I can tweak the php file to make this work? Just in case you want to see my demo: http://www.oscarstewart.com/photos.html

Is there a similar gallery setting to flickrSort for non-flicker galleries?

Please help!