Javascript/jQuery to resize randomly the pictures on load?
<p>Instead of creating thumbnails for my images, I would like to show the original images in my page. For viewing purposes, I still need to resize these images but instead of adding a <code>width:200px</code> on them, I want to display each image in a div container but with size randomly chosen from three choices.</p>

<p>These 3 types of div containers (and therefore the images appearance) will have 3 different sizes, all with the same width. 300x100, 300x200, 300x400.</p>

<p>Of course, upon refresh, the images may have a different size now.</p>

<p>How can I do this ?</p>
