How to display a portrait image in html? I used an img
tag. My portrait image is being rotated 90 degrees and shown in landscape.
How can an image be shown in its original orientation?
How to display a portrait image in html? I used an img
tag. My portrait image is being rotated 90 degrees and shown in landscape.
How can an image be shown in its original orientation?
Try this CSS for your element:
-ms-transform: rotate(90deg);
-webkit-transform: rotate(90deg);
transform: rotate(90deg);`