[wp-trac] [WordPress Trac] #28676: Picture is upside down when coming from WP iOS

WordPress Trac noreply at wordpress.org
Fri Sep 5 11:29:47 UTC 2014


#28676: Picture is upside down when coming from WP iOS
--------------------------+-----------------------------
 Reporter:  snoop_adv     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:  3.9.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------

Comment (by felipou):

 I also believe the correct treatment is to detect the 'Orientation'
 metadata and rotate the image accordingly.

 I stumbled upon this issue recently when programming an app for Mac OS.

 I really don't know why they use such a complicated way to rotate images.
 It's also how my Canon camera handles rotation.

 I found some documentation about what each orientation value means in the
 following sites:

 http://www.impulseadventure.com/photo/exif-orientation.html

 (look for 'kCGImagePropertyOrientation' here)
 https://developer.apple.com/library/mac/documentation/graphicsimaging/reference/CGImageProperties_Reference/Reference/reference.html

 I also found these two plugins that handle this for Wordpress (the first
 one didn't work for me on version 3.9.2):

 https://wordpress.org/plugins/image-rotation-fixer/

 https://wordpress.org/plugins/image-rotation-repair/

 Hope this helps! :)

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


More information about the wp-trac mailing list