first link to your slideshow you can set '&auto=1'. This would be a
the slideshow. Since you are using it as an index page I don't think
On Mar 15, 12:26 pm, BandonRandon <
bandonran...@gmail.com> wrote:
> Jim,
>
> I feel like you're really over complicating things here ;)
>
> I just did a test on my localhost and sovled the issue.
>
> You'll need to change line 141 from:
> $auto = isset($_GET['auto']) ? strip_tags($_GET['auto']) : '';
> to
> $auto = isset($_GET['auto']) ? strip_tags($_GET['auto']) : '1';
>
> This is esentally the same thing you had before with my original if
> statement. This sets auto to true (or 1) The problem you were having
> is that the `stop slideshow link` unsets $auto so our if statemens
> sees it as null and sets it to true again
>
> The solution is simple change line 366 (the stop slideshow link code)
> from
> $auto_slideshow = "<a href='$path?directory=
> $path_to_images¤tPic=$currentPic'>$lang_stop_slideshow</a>\n";
> to
> $auto_slideshow = "<a href='$path?directory=
> $path_to_images&auto=0¤tPic=$currentPic'>$lang_stop_slideshow</a>
> \n";
>
> You'll note we are setting 'auto=0' this way our if statement still
> has a value for '$auto'
>
> Also can I have you do me a favor? next time you post large code