Welcome to WebmasterWorld Guest from 54.147.232.40

Forum Moderators: incrediBILL

Message Too Old, No Replies

Code for opening slideshow from thumbnail request

I'm looking for code for opening images from t'nails in a sort of slideshow

     
10:48 am on Oct 27, 2008 (gmt 0)

New User

10+ Year Member

joined:Sept 24, 2003
posts: 31
votes: 0


I'm creating a site from a template and want to try to find the HTML code to be able to click on any of a number of thumbnail images (eg, one called thumbNail.jpg) to open a new window displaying a larger image (called largeImage.jpg)

I'd also like to be able to run a sort of slideshow to show the other images

Can I ask for help here please and ideally the actual code

Thanks, Stephen

11:09 am on Oct 27, 2008 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member piatkow is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 5, 2006
posts:3363
votes: 31


Opening a single image would just use a normal link or you could use javascript to size the window.
Slide shows can be done with javascript. There are plenty of free script libriaries that will find you something.

Without doing a little research I am not sure about opening multiple images. At a guess a check box beside each thumbnail and build an array of boxes checked and use the array to drive your display. I don't know if javascript or php would be better, I have never tried it myself.

1:30 pm on Nov 18, 2008 (gmt 0)

New User

5+ Year Member

joined:Jan 2, 2008
posts:25
votes: 0


Try looking at the examples at Dynamic Drive. They include the code as well.
1:40 pm on Nov 18, 2008 (gmt 0)

New User

10+ Year Member

joined:Sept 24, 2003
posts: 31
votes: 0


Ok, thanks guys. I'll keep looking