Red Hat Bugzilla – Bug 118942
Images do not show up on IE
Last modified: 2007-04-18 13:04:31 EDT
Description of problem:
Steps to Reproduce:
1. Create an item
2. Upload an image
3. Preview Item
On IE, the image caption shows up, but no image. Just a thin line.
Image shows up fine on Mozilla.
Last time I came across this problem the problem turned out to be that
our image processing classes couldn't figure out the width/height & so
the <img> tag had width &/ height set to zero.
Looks to be the case:
<img src="/ccm/cms-service/stream/image/?image_id=1050" width=""
height="" alt="Winter" oid="1050">
Perforce 41687 (which also submits test-parameters branch stuff I
didn't mean to--oh well) fixes the height and width attrs for the case
where they have no values. I've tested that the attrs are properly
omitted, but I don't have IE to prove it works.