What is wrong with the forums???

Soldato
Joined
8 Sep 2003
Posts
23,238
Location
Was 150 yds from OCUK - now 0.5 mile; they moved
Hi guys.

I'm seeing this issue all the time at the moment.

Images being put on it's side when [ img] tagged here.

30359677014_1ce256ae5d_o.jpg



But if you right click the image and "copy image address" and paste it into your browser the image is the right way up.

Why is the forum doing this?
 
Presumably when the browser displays the image by itself it can read the embedded rotation data. When it's embedded then it doesn't.

Edit: It also has location data embedded in the image. Might want to strip that out.
 
It could be a Windows 10 thing; I have a similar problem linking from Dropbox. When I rotate an image from the default image viewer (or right click menu) in Windows 7, it saves/overwrites the image as a new/same file I believe. So if I load an on the forum, rotate in windows and refresh the forum, it will spin on the forum.

In Windows 10, rotating the image just rotates the preview picture on-screen, not the actual 'file' so the actual file stays sideways. To overcome this I rotate it in paint and then save to make the actual file the right way up. This is my guess at what is happening (to me!) anyway.

Windows 10 (L)
 
I'm seeing the same. Within the forums, the above image is sideways, but clicking on the image and taken to the image host, it is the right way around, e.g. upright.
 
Exchangeable Image File Format.

This. Your camera looks to have set an EXIF attribute in your image to tell photo viewers to rotate it 90 degrees so it appears correctly. Most cameras will rotate the image when it's saved to the correct orientation rather than making the viewer do it.

When you open the image in a new tab I guess your browser defaults to honouring this rotate command and does it, whereas these forums haven't told your browser to do it. OcUK could add img { image-orientation: from-image } to their CSS to fix it.

bDC35ir.png
 
Chrome applies CSS styling by default to images opened within it and also reads the EXIF data. The forums don't so it's gets displayed in its default orientation. Older browsers also display it sideways.
 
In my chrome the [multi+] tags next to quote don't work properly for the last few weeks
 
Just use Jpegr or Irfanview. They can perform lossless rotate on JPG images. Can be done in batch as well, so no excuse really. Gets on my nerves when people can't be arsed to do this. Flickr users are the worst offenders!
 
Back
Top Bottom