JPEG images rotated 90 degrees


Description of the issue:
Brave rotates JPEG images 90 degrees.

Exact URL of the website in question:
https://beercoast.com/index.php?p=coaster&bi=10076&sw=1

**Did the issue present with default Shields settings? Yes

**Does the site function as expected when Shields are turned off? unknown

**Is there a specific Shields configuration that causes the site to break? If so, tell us that configuration. (yes/no): unknown

**Does the site work as expected when using Chrome? No, Chrome does the same thing - image rotated 90 degrees. Internet Explorer (ie) displays correctly.

**Brave version (check About Brave): Version 1.10.97 Chromium: 83.0.4103.116 (Official Build) (64-bit)

From the sample page, I checked in Chrome and Firefox.

images look the same here

1 Like

… From the sample page, I checked in Chrome and Firefox.

Yes, chrome, firefox and brave all display the left side thumbnail rotated 90 degrees clockwise. That’s the problem. I don’t know why this is happening (Internet explorerwq displays the image correctly). I have three or four images out of 130,000 that this is happening.

I checked the embedded JPEG data and can’t see anything. Can’t find any browser settings that would appear to control it. Images should NOT be rotated. It should look like this, as displayed in ie:

Browsers rotate images because these images might have “Orientation” parameter set to “Rotate 90” in image’s EXIF data. Before rendering images, browsers check this EXIF property and render image according to that. This rotation property might be set by the device from which the photo has been taken. You can check the exif data of an image at http://metapicz.com/#landing and verify if your images have this property set or not.

Got it! I ran the utility and found the EXIF data I was looking for. I think it was my user’s image capture that embedded the exif data for rotating an image.

Many thanks! Love that BRAVE browser!