title: Show image in a div tag with it's real size using jquery/css/html
body: <p>I'm working on an asp.net mvc3 application. My views use razor but I think this doesn't matter now. I needed an image gallery where you can delete and upload image and some other demands which I couldn't find on the galleries that I saw at the net so I ended up making my own implementation. </p>
  
  <p>I have problem with showing the image in real size from the thumbs in the gallery.I made a little script to show the essence of the problem :</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;style&gt;
  .thumb-image { cursor: pointer;}
  &lt;/style&gt;
  &lt;script src="http://code.jquery.com/jquery-1.9.1.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;img src="Forest.jpg" class="thumb-image" alt="Forest"  height="300px" width="300px"/&gt;
  &lt;script&gt;
  $('.thumb-image').click(function(){
      $(this).hide();//
  });
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This little script I used just to check if I can reach the image from the DOM (or more exactly how to reach it - I knew it's possible, it's just me being with very basic skills in JS/jQuery).</p>
  
  <p>So my question is this - <code>Forest.jpg</code> is an image on my desktop, originally it's <code>3550x2377px</code>. Now I use image from my desktop - originally the images are taken from a server, but even then I don't keep any cache. The style for the <code>&lt;img&gt;</code> tag is just to achieve some sort of thumbnail effect but the image is downloaded to the client at its full size. So is it possible to show this image in its real size in some <code>&lt;div&gt; tag</code> for example (in this case <code>3550x2377px</code>) without making additional call to the server or at my case - passing again the path to the image, but using the image from the thumbnail, which is downloaded at it's full size or after I make the CSS change for <code>width</code> and <code>height</code> it's not possible to get the real dimensions again?</p>