When the Resizing Options are set to disabled in the options, the pictures will not display when taxonomy_image_display() is called. Checking the HTML source, I see the Only local images are allowed. tag, but the following empty attributes are here:

width="" height=""

Those empty attributes cause the image to not display (at least in IE8 it does, probably other browsers, too). When resizing options are turned on, the width and height attributes will have actual numbers in them, and the image will display.

CommentFileSizeAuthor
#1 taxonomy_image-559562.patch658 bytesMike Wacker

Comments

Mike Wacker’s picture

Title: Images Do Not Appear When Resizing Disabled » Images Do Not Appear When Resizing Disabled (Internet Explorer)
StatusFileSize
new658 bytes

Bug seems to limit itself to IE users, but obviously that's a very large demographic.

Here's a patch to fix it. Interestingly enough, it looks like this change has already been committed to the 6.x branch and wasn't synced to the 5.x branch.

Mike Wacker’s picture

Status: Active » Needs review

Put in a patch long ago but forgot to mark as "needs review"

chellman’s picture

IE6 and 7 are also affected by this issue. They appear to assume that when you have empty width and height attributes, you mean they both = 1. So the images don't disappear. Quite. :)

Anyway, this fixes the issue, and doesn't seem to cause any ill effects for me.

pomliane’s picture

Status: Needs review » Closed (won't fix)

This version of Taxonomy Image is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.