Open darrenlma opened 6 years ago
Hi @discovrbookings, thanks for your detailed question. It seems to be a common problem with my crappy image resize code. The PR here seems to fix this problem. Does that branch perhaps work for you?
I will try to fix this.
Have you found a solution to this problem?
I am trying to upload an avatar to firebase - much the same as your readme example but with a maxHeight and maxWidth prop being passed. However, any time I upload an image of Portrait Orientation (specifically, images taken on Android and IOS devices the orientation is removed from the metadata) the image is rotated 90 degrees.
I have read about this previously and I believe that these smart phone images taken are always in Landscape but the orientation is stored EXIF meta and not passed into the file input. Please correct me if I am mistaken?
Below is an example of a component that I am using - I know it is not an issue with this package and the solution to this question is likely applicable across many applications but I was wondering if you had an example of fixing this, either as a single prop or passing into the metadata prop.