[wp-trac] [WordPress Trac] #8739: Media Gallery: Show file size and file type (MIME type)

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 19 11:42:21 UTC 2010


#8739: Media Gallery: Show file size and file type (MIME type)
------------------------------------------------------+---------------------
 Reporter:  KathyReid                                 |        Owner:            
     Type:  feature request                           |       Status:  closed    
 Priority:  normal                                    |    Milestone:            
Component:  Gallery                                   |      Version:            
 Severity:  normal                                    |   Resolution:  worksforme
 Keywords:  gallery, mime type, file size, file type  |  
------------------------------------------------------+---------------------
Changes (by scribu):

  * status:  reopened => closed
  * resolution:  => worksforme


Comment:

 The information is already there. You can get it by using
 wp_get_attachment_metadata().

 So, to achieve your objective, you can just hook into
 'media_send_to_editor'.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8739#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list