You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Jcrop for resizing an image with aspect ratio 1. For most cases works well, however in some cases when the image is widther I can't select all the image. What kind of action can I do for select the whole content of the image?
I tried to add some zoom implementations I looked in the web however the zoom affects the area of selection and the result is the same. I need to be able to select all the content of the image.
function readURL(input) {
if (input.files && input.files[0]) {
var reader = new FileReader();
reader.onload = function(e) {
$('#jimage').attr('src', e.target.result);
}
reader.readAsDataURL(input.files[0]);
$('#jimage').Jcrop({
onSelect: showCoords,
aspectRatio: 1,
bgColor: '#2e7cce',
bgOpacity: .4,
boxWidth: 500,
});
}}
The text was updated successfully, but these errors were encountered:
I'm using Jcrop for resizing an image with aspect ratio 1. For most cases works well, however in some cases when the image is widther I can't select all the image. What kind of action can I do for select the whole content of the image?
I tried to add some zoom implementations I looked in the web however the zoom affects the area of selection and the result is the same. I need to be able to select all the content of the image.
The text was updated successfully, but these errors were encountered: