Need to fix image rotation problem when uploading and resizing images.
I have a function that does that. The image does rotate. However, the image also gets cut off at the bottom and the remaining width of the image is turned into black background. I've attached a sample to show you.
This only happens when uploading a portrait photo from iphone. Landscape taken photos look fine.
Here is my code. Hopefully you can point out something that I am not seeing.
Edit fiddle - JSFiddle
-
InsolentCat -
Thanks - 1 reply
{{ DiscussionBoard.errors[9163355].message }}-
man5 -
Thanks
Signaturewww.imdabest.ca{{ DiscussionBoard.errors[9163556].message }} -
-
-
InsolentCat -
Thanks
{{ DiscussionBoard.errors[9166391].message }} -