youmoula / jcrop

Automatically exported from code.google.com/p/jcrop
0 stars 0 forks source link

X and Y are not given properly after resizing image with css style #101

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, 
1- for my first <img> tag I put: style="width: inherit; height: inherit;" in 
order to have my image fitted to my <div> Box
2- when I upload and crop the image, I notice that it wont start cropping 
properly from my chosen X and Y because of step 1

this is my code:
<div style="width: 600px;">
<img src="testImage.jpg" id="preview_image_modal" style="width: inherit; 
height: inherit;"/>
</div>

What should I do to fix this problem?

sometimes my users will upload large files and I have to fit them in to my div 
box 

Your answer is appreciated

Original issue reported on code.google.com by webmaste...@gmail.com on 2 Aug 2014 at 9:41