Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

JPG orientation problem after import

Hi,

I am experiencing a problem where some jpegs that are uploaded in landscape / horizontal orientation are rotated to a landscape / vertical position. I am using GD for image processing. I have tried using Imagick and experienced the same problem. I am using the current 1.7 version of Providence, though I notice this same problem happens on an older version of Providence too. In my last image import, I imported about 50 jpegs and about half were rotated even though all the images are the same height and width. I am not sure if there is a problem with the image or the image processing and import. Any help is appreciated.

Thanks,
Hagan

Comments

  • edited June 2017
    Hi,

    These images are probably coming from a digital camera or cell phone? Images from digital devices will often have embedded in their EXIF metadata an orientation value indicating how the camera was held when the image was created. CA will rotate the image to compensate for this, allowing an image taken with the camera on its side, for example, to display in portrait.

    If the embedded value is wrong then CA will incorrectly rotate the image, which is what it sounds like is happening here. I would look at the camera and see if there are any relevant settings. I would also open a few of the images, both "good" and "bad" ones, in another program and see if that program opens them all correctly or makes the same mistake as CA. If only CA is mucking this up then file a bug report on JIRA (http://clangers.collectiveaccess.org) and include at least one problem image.

    We might also add a configuration switch to disable the auto-rotation. Currently there's no way to bypass it.

    thanks
    seth
  • Was image rotation as described by Seth ever added as a solution? If yes, how do we make sure it is set up?

Sign In or Register to comment.