Scale down an image if it's too big for the screen
<p>I have an html page where in the middle there is a pic.<br>
Is there a way to scale down the image with javascript in case it's too big for the current monitor resolution?</p>

<p>I mean if a user with a resolution of 1600*1200 open an image of 1900*1200 the image should be scaled down to fit the window.</p>

<p>I can use jquery</p>
