[wp-trac] [WordPress Trac] #33772: Include IPTC Keywords in image_metadata array

WordPress Trac noreply at wordpress.org
Thu Sep 17 07:49:17 UTC 2015


#33772: Include IPTC Keywords in image_metadata array
-------------------------------------------------+-------------------------
 Reporter:  SteveHoneyNZ                         |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Media                                |  Release
 Severity:  normal                               |     Version:  trunk
 Keywords:  needs-unit-tests has-patch           |  Resolution:
  reporter-feedback                              |     Focuses:
-------------------------------------------------+-------------------------

Comment (by SteveHoneyNZ):

 The image above should return the following image_meta array from
 wp_get_attachment_metadata if patch is working correctly:

 {{{
     [image_meta] => Array
         (
             [aperture] => 8
             [credit] => Photoshop Author
             [camera] => DMC-LX2
             [caption] => Photoshop Description
             [created_timestamp] => 1306315327
             [copyright] => Photoshop Copyrright Notice
             [focal_length] => 6.3
             [iso] => 100
             [shutter_speed] => 0.0025
             [title] => Photoshop Document Ttitle
             [orientation] => 1
             [keywords] => Array
                 (
                     [0] => beach
                     [1] => baywatch
                     [2] => LA
                     [3] => sunset
                 )

         )
 }}}

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


More information about the wp-trac mailing list