Jump to content

Recognising Image Orientation on upload


rickm
 Share

Recommended Posts

Noticed a very minor thing on the built in image field that could be improved. Apologies if this has been suggested before, or if I've missed the option to rotate.

Basically images taken on some mobile phones and even modern cameras have an attribute in the exif data that tells you the orientation that the photo should be handled in. Currently if you upload a photo that was taken upside down for example, it doesn't pick that up and leaves it upside down.

It'd be great if during the upload, ProcessWire could extract the exif orientation data and rotate the image accordingly.

Link to comment
Share on other sites

Hi rickm,
This is recognized when images are resized. We want not to overwrite the original files with the GD-lib, because it would erase all metadata and even can modify the original image data significantly!
So all variations created by ProcessWire are autoRotated correctly. If this doesn't work for you please check in your site/config.php the setting for config->ImageSizerOptions["autoRotation"].

(sent from mobile)

  • Like 4
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...