jQuery or Javascript image viewer for a single image with different sizes?
<p>I have a single image. I want to resize that image in a small window. How to stretch an image in a window by making it bigger image and smaller image.</p>

<p>Width and height attributes are not working properly.
I mean how to stretch an image by giving width and height as follows;</p>

<pre><code>width=300px;height=300px
again width=600px;height=600px;
and width=900px;height=900px;
and widht=1800px;height=1800px;
</code></pre>
