I am setting up an image gallery on my site and would like to provide thumbnails for people to click and see the larger picture (duh...) The code I plan to use is this one below <a href="images_1.gif"><img src="images_1.gif" width=50 height=50 border=1></a> however, the primary background colour for my site is black. But because I am linking directly to an image, rather than a page, when I click the link the background for the image is white. Is there anyway I can get around this?
if you're using the same image for the thumb and the big image, people may not like the fact that they are still having to download the big image to view the thumbnails - if you see what i mean. And in answer to the question, to get around this you'd need to use some scripting (php, asp or whatever) or a series of pages dedicated to the images and link to those...
You can also use javascript! (but thats a client requirement, and its not very fasionable atm to say "come back with internet explorer"... life was simpler when it was IE netscape, and lynx/telnet)
If you want to create a gallery quickly, then you could use an open source PHP gallery such as http://gallery.sourceforge.net/ With this it is very simple to create a gallery in which you can upload your images straight to it, it will even resize the images for thumbnails. Also you can change the stylesheet to your liking to fit in with the rest of your site. I use it on my site and find it's very good www.thegbu.co.uk (click on gallery to see it in action)