I want to get an 300x300 image in order to post it in a html form, running the page in a Samsung S5 smartphone, with chrome
Actual Behavior
The image file says to be 300x300 but the bottom part is lost (approx the 20% of bottom part)
Steps to Reproduce the Problem
Take a photo with Samsung S5
Then use the next code to assign the image to a hidden input (named Base64ImgLogo):
this.UploadClick = function () {
this.Img.result({type: 'base64', size: {width: 300}, format: 'png'}).then(function (base64) {
document.getElementById('Base64ImgLogo').value = base64;
document.getElementById('frmGLink_Edit').submit();
});
};
When the image is select by all the width (according the max width in the croppie window), the the issue appears... i was thinking a problem with high resolution in image, but not, the problem persist with low resolution
If the image is zoom in, the problem will not present
Please show me a better way to pass the croppie image to the form post
Expected Behavior
I want to get an 300x300 image in order to post it in a html form, running the page in a Samsung S5 smartphone, with chrome
Actual Behavior
The image file says to be 300x300 but the bottom part is lost (approx the 20% of bottom part)
Steps to Reproduce the Problem
Specifications