I have a system with a Photo upload page. It is a simple photo upload, where you click on input
, select the image and end. Then just send the form, the image is saved in a folder, and another html file happens to becuperation of the photo path, displaying the same inside a img
tag.
If you use it on a phone or tablet, the operation is the same, the difference is that the option to take the picture with the camera appears, and then it retrieves the image exactly as it was taken and sent.
Everythingworksverywell,exceptthatithadauserofthesystem,thatwhentakingthephotos,thesystemrecoveredtheimagelyingdown,andthattookthephotoonfoot.Iwassavingtheimageonthepcfortesting,andtheimagecameintherightway.However,whenyouuploadit,itappearsagainlyingdown.Allthiswithoutmakinganychangestothefile.
Any image I take picture from my cell phone, or get on the internet is displayed correctly. Only pictures taken by that user's Tablet are displayed lying down. Even if I try to check the picture with Sublime Text, it displays the image lying down (rotated). I think it's something of the photo setup, which is set by Android. I researched, but I did not find anything specific.
What makes the photo appear like this?