Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I m having a problem, i'm cropping my image in my code here is the code:
the problem is when i want to see the picture i see some blackspace in my image like this one
i don't know if i badly used my cropper or is it a problem with umbraco?
Could it be that your original image has a width smaller than 105? Because in that case the crop would probably make it wider and fill the gaps with black...
No actually my image dimensions are 150 * 200 im trying to get 105 * 130,i even tried 50*50 still the same probleme.
Could it be a ratio issue then? because your ratio 150 => 105 is 70% and your ratio 200 => 130 is 65 %
I don't know cropimage that well, but could it be that somehow it keeps the ratio by default, and that there is, some extra parameter to pass to indicate to ignore ratio?
Or maybe you need to specify the upper-left point to start cropping from?
Hi michael i just want to know why is umbracocropper using ratio ? cropping image does'nt mean cutting the image so it can get the size we want no?
I have no idea why it does, I would expect the same as you, that it would crop to whatever size we want... but then you would need to specify from which coordinates it should start the cropping.
That's a question for the person who built the package I guess ;-)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted