On an image node, the image shows with a yellow background and border (with the default Garland theme).
I's coming from line 910 of Garland's style.css, and it looks like an unintended effect to me -- that style rule seems to be meant for the node content preview, and no other image sizes get any sort of styling (in fact image.module provides no styling at all).

I'd suggest changing the class applied to the IMG tag so instead of "image $label" it's something like "image size-$label" but that would break any custom style people have made for their sites.

CommentFileSizeAuthor
#2 image.module_133127.patch721 bytesdrewish

Comments

drewish’s picture

+1 i think yours is the right suggestion.

drewish’s picture

StatusFileSize
new721 bytes

how about image-$size? because the user can specify any name for the size it might cause conflicts with other modules CSS.

drewish’s picture

Status: Active » Needs review
joachim’s picture

image-$size sounds good to me.

drewish’s picture

Status: Needs review » Fixed

thanks, i've committed this to HEAD and DRUPAL-5

Anonymous’s picture

Status: Fixed » Closed (fixed)