The problem of automatic rotation of pictures on the page

now we encounter a very strange problem in the project:
there is an image that rotates 90 degrees by default, as shown in the following image (this is the original image):
https://file.hhg365.cn/offici.

this is the effect of the project.
clipboard.png

90

...
100%
:
https://file.hhg365.cn/offici...

...

clipboard.png
Please advise

Mar.04,2021

I have encountered that it is possible that the original attributes of the picture are determined by the original attributes of the picture, that is, the original attributes of the picture are rotated up and down. You can get the original attributes of the picture and take a look at


the reason why uploaded images will rotate is because of the built-in EXIF information. You can refer to the implementation of library , and just compress it.

< hr >

attach the EXIF information of the picture in your title (abbreviated):

clipboard.png

Menu