|
-
Dec 20th, 2005, 10:57 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Help developing my photo album (small questions)
Ok, I will explain what I am doing and then ask my questions. I am building a script (1 php file) to create a photo album on my website. Right now I have a folder called "Photo_Album". In this folder are other folders, called such things as "Animals", "College" and such. In these are folders like "Lily","Pup","Dorm Room" and these have between 4 and 60 photos.
Photo_Album
....-Animals
........-Lily
............-Page_1
................-photo1.jpg
............-Page_2
................-photo2.jpg
The script reads and displays the main folders (top level) and when they click on one, it then displays the sublevels...so they click "College" and then is shows all the names of the folders under it, like "Dorm Room". when they click on this it then displays all the photos.
I have all this working but I am trying to clean it up. Right now I have folders called "Page_1" and "Page_2" with 15 photos in each (so it limits how many ar shown)
What i would like to do but no idea how, is have all the photos in 1 folder (no page folders) and have it display the first 15 photos in alphabetical order. If the are more than the limit number, for example 15, it will display "1" and "2" at the end and then if they click on 2, it will display the next 15.
So jst to get this working, just have a folder with 25 images, and I want to show 10 per page ( so at the end it should show 1,2,3) and then display the proper photos per page. I can adjust it to fit perfectly.
http://moonsofneptune.com/photo_album/PhotoAlbum.php this is a link to what i have right now. please help. I would really like to get this done before my family reunion but cant get any examples in the web.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|