PHP image slideshow auto

A solid implementation of an image slideshow gallery. Fully automated, no setup needed.

Usage

For a quick setup:

1. Create a folder for the slideshow images.
2. Drop images for the slideshow in the folder.
3. Grab the code, paste it in a file and call it "index.php"
4. Upload this file to a directory that will be the gallery (http://www.site.com/slideshow/)
5. Change lines 6 and 8 to correspond to your setup.
6. Run it (use URL from step 4)

Comments

Posted on 29.11.2008 22:07 by unknown user

Not bad

Posted on 05.11.2009 12:59 by unknown user

Thanks a lot!

Posted on 23.01.2010 06:34 by zamg0d1

Can I add this to my own existing site?

Posted on 04.02.2010 12:33 by unknown user

A demonstration of what the end result will look like would be nice :)

Posted on 09.05.2010 01:01 by steve

Here is a working page with the script:
http://bmwhandlebarrisers.com/gallery/idigallery.php

Posted on 09.06.2010 15:34 by unknown user

Can anybody help explain how you would do #6 in wordpress? How would you access this php from a text widget in your sidebar?

Posted on 09.06.2010 17:46 by steve

Reading for the text widget at the Wordpress.com site, I believe you
can add an iframe with the URL as src. Then the gallery will be displayed.
Just guessing, I am not a Wordpress user.

Posted 15 days ago by unknown user

Good !!!! Thanks a lot

Posted 14 days ago by unknown user

Nice job.

Any chance to have the images rotate automatically in an given interval?

Thanks for your reply,
Chris.

Posted 13 days ago by steve

You will have to use Javascript setTimeout() for this.
It will be something along these lines:


(inside javascript tag at the bottom of the page)
setTimout("window.location.href='?img=<?=$next;?>';", 3000); // 3 secs



loader

progress bar