Thumbnails

Discussion in 'Web Design and Development (archive)' started by atacinus, Jan 8, 2004.

  1. macrumors 6502

    Joined:
    Oct 25, 2003
    Location:
    New York City
    #1
    this is a question i should know the answer to but i don.t...i want to display images on a website in thumbnail form but i don.t want to a) make smaller versions of the images to load and then on click simply link to the bigger image or b) just adjust the height and width because it still loads the entire image...is the only way to do this to make separate images that are smaller? is that what thumbnail programs do?

    Thanks,
    Christien
     
  2. macrumors 603

    rainman::|:|

    Joined:
    Feb 2, 2002
    Location:
    iowa
    #2
    yep, your only other option is a thumbnail program. all that will do is generate smaller versions of the images, but you have to do it that way, as you said shrinking the image will load the entire thing anyway (tho broadband users appreciate this).

    paul
     
  3. macrumors 65816

    kettle

    Joined:
    May 12, 2002
    Location:
    England, Great Britain (Airstrip One)
    #3
    um..

    yes. It is just insane to have full size images as the thumbnail resource, even if all your viewers are broadband, this is mostly because you could risk large bandwidth charges depending on how your site hosting is paid for.
     
  4. macrumors 68030

    mnkeybsness

    Joined:
    Jun 25, 2001
    Location:
    Moneyapolis, Minnesota
    #4
    you could use PHP with the GD function...

    search around at sites like hotscripts.com for simple photo galleries. i found one that will just create thumbnails for the current directory and display the full size on click. i don't remember the link to it because it was not included with the file itself.

    example

    i changed the original file that i download to a much more stripped down version. if you really want, i can give you my modified version to you.
     

Share This Page