Jump to content

photo gallery


wds

Recommended Posts

i am very new to php, and i have only a basic knowledge/understanding. i am trying to start a photography business, and what i want to accomplish is to be able to dynamically create a gallery. the script will simply look in the folder i specify, display 20 photos per page, and allow the user to click each photo to enlarge it.

 

what i want to know is what function is necessary in order to create the array of images?

 

any other information/snippets which pertain to my goal would be appreciated. i've been searching the forum but have yet to find a similar post in relation to what i am trying to obtain.

 

thanks,

wds

Link to comment
Share on other sites

how can i go about logging what page in the gallery i am in to determine which images to display?

 

for instance lets say i have 100 images, when you first open the gallery, it display images 1-20, then when i click "next" it creates another page displaying images 21-40. i'm trying to figure this out using a form with the "get" method but as i said before, i am not well versed.

 

ideas?

 

furthermore, how can i increment/decrement a variable when the button is pushed?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.