Creating Photo Viewer foreach piture in folder

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
the9ulaire
Forum Commoner
Posts: 74
Joined: Mon Jun 11, 2007 11:31 am

Creating Photo Viewer foreach piture in folder

Post 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!
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Creating Photo Viewer foreach piture in folder

Post by aceconcepts »

the9ulaire
Forum Commoner
Posts: 74
Joined: Mon Jun 11, 2007 11:31 am

Re: Creating Photo Viewer foreach piture in folder

Post by the9ulaire »

I prefer to build things myself instead of relying on someone else's script.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: Creating Photo Viewer foreach piture in folder

Post by aceconcepts »

Well it gives you a good idea where to start from!
yanski
Forum Newbie
Posts: 1
Joined: Sun Apr 27, 2008 4:50 pm

Re: Creating Photo Viewer foreach piture in folder

Post 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
the9ulaire
Forum Commoner
Posts: 74
Joined: Mon Jun 11, 2007 11:31 am

Re: Creating Photo Viewer foreach piture in folder

Post 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.
Post Reply