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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | image.module_133127.patch | 721 bytes | drewish |
Comments
Comment #1
drewish commented+1 i think yours is the right suggestion.
Comment #2
drewish commentedhow about image-$size? because the user can specify any name for the size it might cause conflicts with other modules CSS.
Comment #3
drewish commentedComment #4
joachim commentedimage-$size sounds good to me.
Comment #5
drewish commentedthanks, i've committed this to HEAD and DRUPAL-5
Comment #6
(not verified) commented