I have an issue setting cropper viewer to cover full height and width of the image being cropped when initializing it. I have used maximize:true param for this but this doesn't seem to work for all image resolutions. I am having a hard time figuring out why by looking at the source.
Image size it doesn't work for right now - 960x641
Below is my configuration for initializing cropper
Hello,
I have an issue setting cropper viewer to cover full height and width of the image being cropped when initializing it. I have used maximize:true param for this but this doesn't seem to work for all image resolutions. I am having a hard time figuring out why by looking at the source.
Image size it doesn't work for right now - 960x641
Below is my configuration for initializing cropper
ngCropper version - 0.2.2
I found that changing
dragger.height
anddragger.width
to 1 from 0.8 ininitDragger()
function does the job. Is this the correct solution ?