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: Bèr Kessels Status: patch +1 for this feature. But we should be carefull with it, though. This function is called an awful lot. Cvbe, have you got experience with benchmarking? I am interested to see if this has an impact on speed and performance. If so, we could consider a lower level (inside the function) "caching": just see if the file exists in the file table, if so return those functions. But let's not keep that from including this filesize. Bèr Kessels Previous comments: ------------------------------------------------------------------------ Mon, 25 Jul 2005 11:40:14 +0000 : Cvbge 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.