[drupal-devel] [feature] Please add file size infomation to image_get_info()

Cvbge drupal-devel at drupal.org
Mon Jul 25 11:40:16 UTC 2005


Issue status update for 
http://drupal.org/node/27431
Post a follow up: 
http://drupal.org/project/comments/add/27431

 Project:      Drupal
 Version:      cvs
 Component:    other
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  Cvbge
 Updated by:   Cvbge
 Status:       patch
 Attachment:   http://drupal.org/files/issues/image.inc.diff (1.14 KB)

image_get_info() return information about image - width, height,
extension, mime type.


It's quite common to get file size (physical size) when getting
dimension.


This simple patch adds file_size to the returned array that contains
file's size in bytes.




Cvbge




More information about the drupal-devel mailing list