Dynamic slideshow source - jQuery, PHP, MySQL

Hey all,

Wondering if it is possible to have a jQuery slideshow of some kind that has a dynamic source of images.  So if images were stored in MySQL it would check at the end of each slide show time to see if any more images have been added and then update the images it would show.  And perhaps if it has no new ones, it would just cycle through the current images it has.

Cheers
dev09Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mukesh YadavFull Stack DeveloperCommented:
Yes :)

Check after 2nd last slide for new image(s)
If you found any new image append to slider and rest slider will do.

To do this you have to bind a callback function to slider which will be called every time slide changes and checks total slides - current slide == 2 means the current slide is 2nd last slide here you have to make a ajax call to server for new data.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ray PaseurCommented:
There are many jQuery slide show scripts, and since jQuery integrates well with AJAX, you can store information in the database and re-acquire it every time the slide show comes to an end.  I would not recommend storing image files in the database - instead store just the URLs of the image files.

This article is not exactly on p[oint, but it shows how you can use a jQuery scroller that cycles through some quotes.  It could just as easily cycle through some images.  The essential moving parts are the jQuery faders and the CSS that formats the browser display.  You would want to tailor those for your specific application.  Intentionally simplified example here:
http://iconoun.com/demo/EE_fading_quotes.html

Link to article:
http://www.experts-exchange.com/articles/11357/Upgrading-the-Marquee-Tag-with-jQuery.html
dev09Author Commented:
Thanks guys!! Got me thinking in the right direction,
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.