[wp-trac] [WordPress Trac] #57975: Uploading iPhone JPG images with EXIF data causes unwanted file modifications.

WordPress Trac noreply at wordpress.org
Thu Mar 23 20:39:56 UTC 2023


#57975: Uploading iPhone JPG images with EXIF data causes unwanted file
modifications.
----------------------------+-----------------------------
 Reporter:  hbaumhardt      |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Filesystem API  |    Version:  6.1.1
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 Tested with several hundred images across two WP 6.1.1 sites one of which
 is vanilla with with no plugins active.

 When an iPhone originated JPG file with EXIF metatadata is uploaded to the
 media library:

 (1) file is renamed/recreated *-rotated.jpg

 (2) dpi resolution is reset from 72 to 96 increasing file size.

 (3) EXIF metadata is stripped off (or the original file is being
 replaced).

 These are all unnecessary and unwanted actions. If this bizarre behaviour
 is core functionality, there needs to be a filter/action to
 disable/bypass/avoid it.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57975>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list