Page 1 of 1

Creating Photo Viewer foreach piture in folder

Posted: Sun Apr 27, 2008 1:46 pm
by the9ulaire
I want to create a basic photo viewer. I want to just have the code look in the specified folder, and then be able to page through foreach picture in the folder. Just a basic thing where you click forward and backward to page through pictures. I'm not really sure how to do this. Would I want to create an array from each of the files in the folder to give each one an index? If so, how would I code that?

Thanks!

Re: Creating Photo Viewer foreach piture in folder

Posted: Sun Apr 27, 2008 2:31 pm
by aceconcepts

Re: Creating Photo Viewer foreach piture in folder

Posted: Sun Apr 27, 2008 2:56 pm
by the9ulaire
I prefer to build things myself instead of relying on someone else's script.

Re: Creating Photo Viewer foreach piture in folder

Posted: Sun Apr 27, 2008 3:20 pm
by aceconcepts
Well it gives you a good idea where to start from!

Re: Creating Photo Viewer foreach piture in folder

Posted: Sun Apr 27, 2008 5:00 pm
by yanski
:?: You can do the photo viewer in many ways. For me you can embed your code with the Javascript. And same thing you can have a page break w\c concern with limitation it depends upon how many picture you want.. But I can suggest just search on google.com about the page break. Aside from page break you can also try to utilized the the flash or the hybrid one using the SAjaxa.

__________________
gianski
Need to reach targeted audience in short amount of time? A powerful new way to advertise online! http://www.widecircles.com

Re: Creating Photo Viewer foreach piture in folder

Posted: Sun Apr 27, 2008 5:12 pm
by the9ulaire
I simply want to build a photoviewer based upon the contents in a folder. I'm not sure how to store such information in an array.