Jump to content


Image Gallery


1 reply to this topic

#1 MKayHavoc

    Young Padawan

  • Members
  • Pip
  • 25 posts

Posted 17 March 2006 - 11:20 AM

Hi,

I'm greating a simple html page and i'm wanting to put an image gallery in place. You can find the site I'm doing here:

www.personal.leeds.ac.uk/~issrjt

If you click on Screen Shots you'll see what I've done so far.

What I want to happen is when someone clicks on a thumb nail the larger picture appears in the box below, called Selected Image. What is the best way for me to do this? I'd prefer not to use php (as my understanding is nil at present) but if I have to learn then so be it.

Cheers

Ryan

#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 17 March 2006 - 06:02 PM

The easy way would be to add a hight and width attribute to your thumbnail image tags, and set them to the sizes you would like. Then use JS to display the large form in the box below.
Of course, this would cause huge load times, as the user would have to load the full version of every image on every page (even though it will display in small form).

You could also do a forum search, or google, as everybody seems to like making gallery scripts.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users