Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jCrop on resized images [closed]

I am setting max-width css property for images to display on the page. however this breaks the jCrop. On the left is what i selected. On the right is what is cropped after I crop it. I have used this example here.

http://www.mikesdotnetting.com/Article/95/Upload-and-Crop-Images-with-jQuery-JCrop-and-ASP.NET

This is what i selectThis is what is actually cropped

thanks for help.

like image 443
btevfik Avatar asked Nov 04 '22 00:11

btevfik


1 Answers

The jcrop is working well with fixed max-width. I have also test that one. May be possible you are cropping the wrong area as shown right square.

like image 180
Janty Avatar answered Nov 12 '22 17:11

Janty