1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Development HTML code help

Discussion in 'Software' started by Eyes in the Dark, 10 Apr 2004.

  1. Eyes in the Dark

    Eyes in the Dark What's a Dremel?

    Joined:
    15 Jun 2003
    Posts:
    186
    Likes Received:
    0
    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?
     
  2. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    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... :)
     
  3. TheAnimus

    TheAnimus Banned

    Joined:
    25 Dec 2003
    Posts:
    3,214
    Likes Received:
    8
    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)
     
  4. a9on87

    a9on87 ...

    Joined:
    2 Nov 2003
    Posts:
    742
    Likes Received:
    2
    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)
     

Share This Page