Jump to content

[SOLVED] Image Gallery.. logic help


therealwesfoster

Recommended Posts

I have a gallery which loads from the DB using php.

 

I'm wanting to:

1. put the results into an array

2. display the first image from the array into the "big_div"

3. display all of the images from the array below with the currently viewed one being selected (just do border="1")

4. have prev/next buttons for scrolling through the pics

 

I did this originally with php.. but now I'm needing it switched to javascript/php and I just can't wrap my head around how to go about doing this..

 

help please :)

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.