PDA

View Full Version : Gallery



jj_heylookatme
14 Aug 2007, 09:30 AM
Hey guys,

I was wondeirng how I could create an image gallery. I am trying to make one that scrolls through images, with 2 buttons below the images to scroll back and forth. However, I seem to have messed up the script on flash because I can't get it to scroll--it just goes all the way through the images in one or 2 seconds. Should I keep on trying in flash? How could I fix my script?
Thanks

Wickham
14 Aug 2007, 11:00 AM
You should be able to sort out the Flash but I can't. There is a separate board for Flash queries.

You probably need to use Google to find a scrolling photo album, I know there are lots and many use javascript or Flash. See http://flash.dvd-photo-slideshow.com/flash-photo-album/scrolling_photo_album.php

You say "scroll" rather than "click". Here are two pure css methods with no javascript or Flash that use iframes. One scrolls, the other clicks through each photo.

http://www.wickham43.supanet.com/tutorial/imageswithascrollbar.html This one needs all the images in one inserted html file so you need to consider the download time if you have lots of images.

and

http://www.wickham43.supanet.com/tutorial/photoalbum.html see item 8. This one has each image in a separate html file but each one has to have its next and previous links so you can't jump and if you change the order you need to edit the links on the next and previous pages.

If you use a database you might have to use PHP or javascript to download one at a time (which I think would mean clicking for the next image, not scrolling).