New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image upload get rotated on iOs #912
Comments
From my experience pictures taken with iOS devices are all saved in landscape mode with exif tag |
for internet justice: had the same problem and ended up using https://github.com/blueimp/JavaScript-Load-Image function readURL(input){
loadImage( input.files[0],
function (img) {
img.id = "uploaded_image";
$('#uploaded_image').replaceWith(img);
var $panzoom = $('#uploaded_image').panzoom({
$zoomIn: $(".zoom-in"),
$zoomOut: $(".zoom-out"),
$zoomRange: $(".zoom-range"),
minScale: 0.1
//$reset: $(".reset")
});
},
{canvas: true,orientation:true} // Options
);
$("#submission_upload_image").hide()
$("#submission_upload_image").remove()
} |
This is old but how would I use this function? |
@davidmann4 hi David i'm having the same problem as you mentioned. How can i get your fix to work?
Im using this from the html2canvas to change the src of my image in my canvas. How can i add your code to this? |
Hi All,
here is my issue, When a user upload an image - and then generate it as an image via html2canvas, the image previously uploaded get rotated. Only the image uploaded are being rotated - if it's any elemetn already bein display - they don't rotate.
( this happen only on iOS)
Is there any solution for this ?
Thank you for your time !
The text was updated successfully, but these errors were encountered: