Rotate image CSS3 or JavaScript [duplicate]

1

How do I know I have to rotate an image to display it on a page?

Can I check this in css or does it have to be in the javascript?

Is that in dashboard of a website that I developed the image appears upside down at the time of upload, if I open this image in windows 10 it appears right more if I open in windows 7 it appears upside down.

So I thought before showing the image on the page check if it is in rotation and sure and if it needs to rotate it by 90º.

I use React from this dasboard, so the solution has to be in css / html or javascript.

    
asked by anonymous 24.08.2018 / 19:20

0 answers