[wp-trac] [WordPress Trac] #14459: Rotate Full Size Images on Upload

WordPress Trac noreply at wordpress.org
Wed Oct 7 22:09:48 UTC 2015


#14459: Rotate Full Size Images on Upload
-------------------------------------------+-----------------------------
 Reporter:  mrroundhill                    |       Owner:  azaozz
     Type:  enhancement                    |      Status:  reviewing
 Priority:  normal                         |   Milestone:  Future Release
Component:  Upload                         |     Version:  3.0
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch westi-like mobile  |     Focuses:
-------------------------------------------+-----------------------------

Comment (by wpdavis):

 Just added a patch option that catches this on upload.

 However, something weird is going on. It seems the issue is when an image
 gets rotated but the orientation field in the EXIF data doesn't get
 changed. I'm not actually sure how to identify this, but if somebody has
 an idea I'm all ears.

 Here are examples of pretty much the same file. test1, if uploaded with
 the patch applied, will appear correctly. test2, if uploaded with the
 patch applied, will actually be over-rotated.

 http://trunk.wpdavis.com/test1.jpg => Exif:
 http://trunk.wpdavis.com/test1.php
 http://trunk.wpdavis.com/test2.jpg => Exif:
 http://trunk.wpdavis.com/test2.php

 If we figure out a way to identify more conclusively which images need to
 be rotated, we could always implement it with ImageMagick only to preserve
 IPTC data.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/14459#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list