Images stopped showing in IE after upgrade or height+weight set to null when image resizing disabled

bluetegu - June 7, 2009 - 18:11
Project:Taxonomy Image
Version:6.x-1.6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

Thanks for a great module.

When I upgraded the module the taxonomy images stopped showing and only in IE. I use taxonomy images without any resizing or imagecache processing. That is, all resizing is set the default values (resizing disabled, preset ORIGINAL). Looking into it further it turns out that the height and weight were set to null.

I traced that to a change in code in taxonomy_image_resize. I commented out the change and now everything is back to what it used to be. But most likely this change was made to solve something, so commenting out is not necessarily the right solution.

In my code I call taxonomy_image_display directly from the theme layer.

I include the patch I use. Feedback appreciated.

Bluetegu

AttachmentSize
taxonomy_image-resize.patch430 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.