Resizing a cropped image using jQuery and no server side code
<p>I'm using a bit of jquery to search Flickr, produce a set of thumbnails, select a thumbnail, load the fullsize image and then crop the image by setting it as the background image of a DIV. An example of the final genrated DIV containing an image is below:</p>

<pre><code>&lt;div class="imgwrapper2" style="background-image: url(&amp;quot;http://farm6.static.flickr.com/5094/5425332847_2c4ab1a53a.jpg&amp;quot;); width: 257px; height: 271px; background-position: -69px -77px;"&gt;
  &amp;nbsp;
&lt;/div&gt;
</code></pre>

<p>I'd now like to look at resizing the image, well resizing the DIV which contains the background image and stretching the background image.</p>

<p>Is this possible using the above HTML and jQuery? If so can anyone suggest any jQuery plugins that might help?</p>

<p>If you dont think this is possible using the above output, might it be easier if the div wraps an IMG tag with overflow set to invisible?</p>
