? .cvsignore
? .str_vs_preg.php.swp
? foo.patch
? imagecache_451106.patch
? str_vs_preg.php
? str_vs_preg.php.txt
Index: imagecache.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imagecache/imagecache.module,v
retrieving revision 1.106
diff -u -p -r1.106 imagecache.module
--- imagecache.module	2 May 2009 19:16:03 -0000	1.106
+++ imagecache.module	3 May 2009 12:24:08 -0000
@@ -831,8 +831,8 @@ function _imagecache_recursive_delete($p
  * @return
  *   HTML img element string.
  */
-function theme_imagecache($presetname, $path, $alt = '', $title = '', $attributes = NULL) {
-  if ($image = image_get_info(imagecache_create_path($presetname, $path))) {
+function theme_imagecache($presetname, $path, $alt = '', $title = '', $attributes = NULL, $getsize = TRUE) {
+  if ($getsize && ($image = image_get_info(imagecache_create_path($presetname, $path)))) {
     $attributes['width'] = $image['width'];
     $attributes['height'] = $image['height'];
   }
