Templot Club Archive 2007-2020                             

topic: 3400Forum image orientation
author remove search highlighting
 
posted: 26 Mar 2019 12:45

from:

Martin Wynne
 
West Of The Severn - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
At various times images from mobile phones and tablets have appeared here at the wrong orientation, because there is no means to honour the EXIF orientation setting contained in the original image.

I have recently discovered that alone among browsers, Firefox is able to do this.

(Possibly also Microsoft Edge -- although that is now to be discontinued on Windows in favour of Chrome).

So I have now added the relevant CSS to the forum code:

<style>
  img
  {
    image-orientation: from-image;
  }
</style>

This will probably work only for images posted as attachments, or hot-linked from other sites, and where the image was directly uploaded from the mobile device. It probably won't work for images in the image gallery because as far as I can see the EXIF data is not preserved in resampling, or for images which have been edited in some graphics editors which don't update the EXIF orientation data when images are rotated in them (e.g. Microsoft Paint).

I haven't tested this yet, but I will do shortly if my Android tablet is agreeable.

Bear in mind that it applies only to Firefox.

cheers,

Martin.



Templot Club > Forums > Templot talk > Forum image orientation
about Templot Club

Templot Companion - User Guide - A-Z Index Templot Explained for beginners Please click: important information for new members and first-time visitors.
indexing link for search engines

back to top of page


Please read this important note about copyright: Unless stated otherwise, all the files submitted to this web site are copyright and the property of the respective contributor. You are welcome to use them for your own personal non-commercial purposes, and in your messages on this web site. If you want to publish any of this material elsewhere or use it commercially, you must first obtain the owner's permission to do so.
The small print: All material submitted to this web site is the responsibility of the respective contributor. By submitting material to this web site you acknowledge that you accept full responsibility for the material submitted. The owner of this web site is not responsible for any content displayed here other than his own contributions. The owner of this web site may edit, modify or remove any content at any time without giving notice or reason. Problems with this web site? Contact webmaster@templot.com.   This web site uses cookies: click for information.  
© 2020  

Powered by UltraBB - © 2009 Data 1 Systems