October 15th, 2007

Build an image slideshow with PHP & JavaScript

There are numerous scripts out there that use PHP to scan the contents of a particular directory, and create a "gallery" of sorts from all of the images in the folder. There are also JavaScripts out there that allow you to rotate between images in a gallery without refreshing the page – thus creating a slideshow on the page. Well, without having to know too much PHP or JavaScript, you can now have both of those capabilities in one easy to configure PHP class!

This open source PHP class is used to present images in a slide show without reloading the current page. It automatically generates the necessary HTML and Javascript to display the listing of images, on the page. Best of all, the images are scanned from a list of files in a server side directory, which means that you can just upload a new image and it will be there!

You can also easily configure the delay time between switching the images on the page.

  • Share/Bookmark

4 Responses to ' Build an image slideshow with PHP & JavaScript '

Subscribe to comments with RSS or TrackBack to ' Build an image slideshow with PHP & JavaScript '.

  1. Anindya dasgupta said,

    on January 1st, 2009 at 3:13 pm

    I want to have a free downloadable code for slide show using php and javascript.

  2. mairu said,

    on January 15th, 2009 at 11:37 am

    hello!
    it would be nice if you could provide me a free code for this slide show. it's exactly what i was looking for!

    thank you!

  3. Shola said,

    on February 4th, 2009 at 4:10 pm

    required for future website development

  4. betclic said,

    on April 29th, 2009 at 2:33 am

    Such an interesting solution, thanks for sharing it, so useful for a beginner like me !

Leave a reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word