I have a problem since I have an input of type file
<input type="file" name="UrlFoto" id="UrlFoto" accept="image/*" />
which uploads the photo to the server without any problem but the problem arises when I show the photo because if the user takes the photo from a mobile device when it is displayed it is automatically rotated.
I hope you can help or guide me as I was thinking of a plugin to edit the photo before uploading to the server or that respects its orientation.