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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36a0d-2c036.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36a0d-2c036.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?