0
Not a bug

Many pictures appear rotated or upside down

wonx 2 months ago • updated 2 hours ago 6

In photo or miniature view, many pictures appear sideways or upside down. It seems to depend on the camera model, as pictures in some folders are rotated correctly. I suspect it might have something to do with the exif info not being correctly processed.

Could the fact that many pictures are displayed upside down might have something to with pictures being rotated twice?

Answer

Answer
Not a bug

The files are too small for FileRun to process them, so it sends them to the browser as they are. Most browsers currently fail at rotating images based on Exif orientation. They only do it when an image file is opened directly, but not inside a web page (for some stupid reason).

We specifically choose not to process the files on the server, if they do not require resizing, as that would slow down the loading considerably.

It may be annoying, but the only solution we suggest is to properly orient your image files using third-party apps, rather than relying on the Exif information.

We will improve this in FileRun only when browsers will provide a proper solution for it.

Under review

If you have a file that shows a wrong orientation even in our demo, please share it.

Ok, the pictures appear sideways or upside down in your demo too. I have created a folder there called "Not rotated correctly" where you can see two examples.

The demo get's automatically reset frequently, so I can't find files in there.

Ok, I will send you an email with a couple pictures that appear incorrectly rotated in FileRun.

Answer
Not a bug

The files are too small for FileRun to process them, so it sends them to the browser as they are. Most browsers currently fail at rotating images based on Exif orientation. They only do it when an image file is opened directly, but not inside a web page (for some stupid reason).

We specifically choose not to process the files on the server, if they do not require resizing, as that would slow down the loading considerably.

It may be annoying, but the only solution we suggest is to properly orient your image files using third-party apps, rather than relying on the Exif information.

We will improve this in FileRun only when browsers will provide a proper solution for it.

Oh, I see. Thanks for your answer. It is a pity, though, because other web services that store pictures, like google drive or google photos, display the same pictures correctly. Maybe when generating the thumbnails, it could read the correct orientation and save it in the database, together with the metadata?