Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to make Thumbnails of an Image and again show it as big?

How to make Thumbnails of an Image and again show it as big?

Scheduled Pinned Locked Moved ASP.NET
questioncomtutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MudkiSekhon
    wrote on last edited by
    #1

    I am developing a site in which I need to show images as thumbnails and on bringing mouse over them I want to show them as big like the images shown in below link http://www.pensacolamls.com/(0v3xqr45qcmocsnrmh3nhmyo)/propertyDetails.aspx?mls=301025 Please tell me how can i make my .jpg files as thumbnails and on bringing mouse over them to show details as in above site. Thanks, Sandy

    K 1 Reply Last reply
    0
    • M MudkiSekhon

      I am developing a site in which I need to show images as thumbnails and on bringing mouse over them I want to show them as big like the images shown in below link http://www.pensacolamls.com/(0v3xqr45qcmocsnrmh3nhmyo)/propertyDetails.aspx?mls=301025 Please tell me how can i make my .jpg files as thumbnails and on bringing mouse over them to show details as in above site. Thanks, Sandy

      K Offline
      K Offline
      KrIstOfK
      wrote on last edited by
      #2

      If you have 2 images (a thumbnail and a large image) you can just put the thumbnails on the page and render the inline popups on mouseovers (i suggest doing this with javascript cause otherwise you'll have troubles with postbacks). If you do not have 2 images you will have to render your own thumbnails (on pageload for example) with System.Drawing libary. Then you can save your thumbnails just like you should have 2 images. For an inline popup you can put a div with style "display:none" wherin you put your image. And onmouseover (from your thumbnail) you change the style of the div to display:div. With css you can place the div where you want on the screen.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups