Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    28
    Member #
    20071
    i am new to web development...
    want to know that how i can add thumbnail image in web page..and when someone click on that thumbnail it get enlarge...
    ? RISSADUM Web Hosting
    ? Shared Hosting | Reseller Hosting | VPS | Domain Name Registration | Domain Reseller
    ? Follow us on Twitter @ Rissadum | on Facebook

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    You have two images, one thumb and one fullsize.
    Many times, people put a _t on the thumb:

    mypic.jpg
    mypic_t.jpg

    <a href="mypic.jpg"><img src="mypic_t" alt="My Pic" title="My Pic" /></a>

    It will have a blue "link" border around the image, so you can remove that too,
    a couple of ways ...

    In the <head> section:
    <style>
    img{
    border:0;
    }
    </style>


    Inline method:
    <a href="mypic.jpg"><img src="mypic_t" alt="My Pic" title="My Pic" border="0" /></a>


  4. #3
    Junior Member
    Join Date
    Oct 2009
    Posts
    28
    Member #
    20071
    i have to upload 2 images...1 for thumbnail and other for enlarge....
    ? RISSADUM Web Hosting
    ? Shared Hosting | Reseller Hosting | VPS | Domain Name Registration | Domain Reseller
    ? Follow us on Twitter @ Rissadum | on Facebook

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    That is correct.
    The filenames can be the same if you use 2 directories,
    or different filenames if they reside in the same directory (your choice).



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:56 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com