-1
I have a script that uploads the images and creates 2 files: width 1200 and width 50.
It works normally, but when the photo is vertical (height greater than width) it rotates the image in upload alone.
I noticed that even when uploading directly by Cpanel, when opening the image it is rotated.
If I open the image in photohop and save as a new one, then it works normal
https://answall.com/questions/34866/tag-img-ao-carregar-uma-imagem-do-banco-ela-aparece-deitada
– hugocsl