Avatar of Brian
Flag for United States of America asked on

jQuery Photo Gallery

Hello Experts,

Is there a jQuery plugin or Javascript code that will display photos in a folder?

I have a client that would owns a Photography Studio and he would like to be able to just upload photos to a specific folder on the website and for the photos to automatically appear within rotation. He doesn't want to use any webservice or anything complicated to do this. He would just like to simple copy the photos from his computer and upload them to a directory and that's it.

I would like to be able to use either jQuery or Javascript to do this.

Thanks in advance!!!

Avatar of undefined
Last Comment
Jon Norman

8/22/2022 - Mon
Kyle Hamilton

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Kyle Hamilton

You can of course do a lot more than display the images as a list. You could implement a javascript gallery for example that fades the images in and out... the sky's the limit!

Can you help me or provide me JavaScript code to do that instead of php?
Kyle Hamilton

I'm pretty sure you can't read a directory with javascript. Even if it's on the same domain.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Jon Norman

it would need to be some sort of code like php working on the server to get the names of the files, once that is done you can then style it with javscript in the front end with something like http://jquery.malsup.com/cycle/