+ 1

Why is my picture in HTML rotating 90 degrees?

https://code.sololearn.com/W82GsoISIpZ1/?ref=app

8th Sep 2020, 6:33 AM
Maxmud Kamolov
Maxmud Kamolov - avatar
3 Antworten
+ 1
Ok. I'm just going to take a guess here. Based on being a photographer on the side. But I think your original metadata tied to the image has it at a 90-degree angle. Because the photo was taken at a 90-degree angle. Try rotating the image using something like "Gimp" or "Darktable" or "Photoshop" to correct the photo's metadata. Using CSS to rotate may work on one browser but not on another because of the photos' metadata.
8th Sep 2020, 6:45 AM
Jason Sikes
Jason Sikes - avatar
+ 2
Maxmud Kamolov img { transform: rotate(90deg); } but you will more than likely rotate(45deg) after visually seeing .... And best wishes to you on your upcoming test submission in September...
8th Sep 2020, 6:49 AM
BroFar
BroFar - avatar
+ 1
Thank's
8th Sep 2020, 7:07 AM
Maxmud Kamolov
Maxmud Kamolov - avatar