Bug 306482 - Wrong rotation for images after Piwigo Export
Summary: Wrong rotation for images after Piwigo Export
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Piwigo (show other bugs)
Version: 2.8.0
Platform: Ubuntu All
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-09 08:21 UTC by bugs
Modified: 2018-02-01 05:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 3.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bugs 2012-09-09 08:21:46 UTC
After upload several images are displayed with the wrong rotation in Piwigo. I think the EXIF rotation information is lost during resize within digikam.


Reproducible: Always

Steps to Reproduce:
1. Select multiple images, some portrait, some landscape, which are _not_ rotated during import in digikam 
2. Display in digikam is correct
3. Upload to Piwigo, check the resize checkbox

Actual Results:  
Images are not rotated in piwigo

Expected Results:  
Images should be rotated in piwigo
Comment 1 Frédéric COIFFIER 2013-02-27 20:20:31 UTC
I've just tried to reproduce the problem and I didn't succeed with Digikam 3.0 (+ KIPI plugins 3.0) and Piwigo 2.4.7.

In fact, the rotation information is stored in EXIF. The Piwigo export plugin shouldn't remove this information and Piwigo should use it.
So, it can be a bug in Piwigo or in the export plugin.
Comment 2 bugs 2013-02-28 09:07:16 UTC
Unfortunately I can't test it in the next time. IIRC it was related to the "resize" checkbox, it seemed the EXIF got lost when digikam rescaled the images locally before uploading. But this is all from memory so if it is not reproducible with the current versions we can close this bug.
Comment 3 Frédéric COIFFIER 2013-02-28 09:36:49 UTC
Yes, I agree. I had a doubt about a possible EXIF loss during the resizing.
I've just downloaded the resized image from my Piwigo webhost. The image was correctly resized and still contains EXIF info :

...
Camera Orientation              : Rotate 270 CW
...

So, from the Piwigo plugin side, everything seems correct. So, maybe, this problem was corrected from the Pwigio side itself.