HTML Help Central . com

» Online Users: 102

0 members and 102 guests
No Members online
Most users ever online was 695, 02-16-2011 at 07:01 AM.

» Site Navigation

 > FAQ

» Domains For Sale

Results 1 to 4 of 4
  1. #1
    Join Date
    May 2001

    Post Image link to larger image?

    How do I make an image so that when I click on it, it becomes larger?

  2. #2
    Join Date
    Apr 2001


    okay there are 2 ways you can do this;
    (lets call the image, pic.jpg for example purposes)

    1. use just the one image for this, write the following:
    <a href="images/pic.jpg"><img src="images/pic.jpg" width="60" height="60"></a>
    Now that will use just the one image, which means the preview will take just as long to load as the big one, except when you click to view the larger one it will be instantly loaded.

    (uses 2 images for this, pic.jpg & pic_small.jpg)

    2. okay for this you would write something like the following:
    <a href="images/pic.jpg"><img src="images/pic_small.jpg"></a>
    The key to this one is to make the "pic_small.jpg" the preview size that you want, the preview will be shorter loading time then the first, but the larger pic will be slower.

    So take your choice out of these 2 ways, some people like the first way, some like the second.
    Hope i've helped you out!

    Ben C.

  3. #3
    Join Date
    Apr 2001
    Jax Bch, FL


    Those are the 2 major choices, like Ben_C said above.

    I would like to add...

    Choice 1: If you only have a couple of pictures that you want to put on your page.

    Choice 2: If you have MORE than a couple pictures to show.

    Either way, you should ALWAYS add "height/width" sizes to your images, even if they are the same size as the actual image you uploaded on your server.
    That way, your page will load on the user's browser a little faster, because the browser will already know where the image goes and it will load the rest of the page the way it should be.

    Work in a Bar or Restaurant ???
    The Moxxnixx Cafe is the place to be !!!
    Lifestyles of the Overworked and Underpaid !!!

  4. #4
    Join Date
    May 2001


    Thanks guyz, the first one is exactly what i needed, thankyou so much.

Similar Threads

  1. Image Link Help!????!
    By Chris in forum Graphic Design
    Replies: 1
    Last Post: 07-19-2007, 05:47 PM
  2. Image Link Help!????!
    By SaveTheTigers in forum HTML / XHTML / XML
    Replies: 3
    Last Post: 09-03-2006, 07:19 AM
  3. Link Image Help PLEASE!!
    By askmeques in forum HTML / XHTML / XML
    Replies: 1
    Last Post: 07-13-2002, 07:51 PM
  4. image link help
    By jaina in forum HTML / XHTML / XML
    Replies: 2
    Last Post: 08-30-2001, 11:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Powered by vBadvanced CMPS v4.1.1