jquery change div shape on click of button
<p>i am showing user uploaded image into a div. there are four buttons for square, landscape, portrait and panoramic shape of div. user can change shape of div and according to div shape image set automatically. but i did not found any jquery or anything related to shapes. i want when user will click on square button div shape change according to this and same for landscape, portrait, panoramic. i have no idea how to start this. Please help. this is code and i have attached a screenshot. in this my image is not cutting according to height and width and it aligned left in place of center when i click on square.Please see the screenshot.
     $("#square").click(function(){ </p>

<pre><code>$(".resize-div").animate({width: 341,height: 341});


}); 
</code></pre>
