[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 
Post a follow up: 

 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

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


More information about the drupal-devel mailing list