I want to use jcrop. I have a popup window that I want to show the image to be cropped. However I want the image to fit in a maximum image size of 400px wide. If I put width in the html tag that shows the image and then crop, it doesn't crop what I see, but crops based upon the real size of the image.
Do I need to first resize the image before I crop? If so what is the best way to do that?