为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Transparent images don't render in Firefox but render perfectly in Internet Explorer

  • 12 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 Debresser

more options

B"H

Dear Firefox community / Firefox support staff

Firefox has a problem rendering transparent images. Please see the screenshot, where a page from my favicon collection is rendered by Firefox and Internet Explorer at the same time. The red and green arrows show the differences between Firefox and Internet Explorer in rendering two specific transparent images. I have attached one of these images for your reference (only the .png image, because .ico images can not be uploaded here).

Sincerely, Dovid de Bresser

B"H Dear Firefox community / Firefox support staff Firefox has a problem rendering transparent images. Please see the screenshot, where a page from my favicon collection is rendered by Firefox and Internet Explorer at the same time. The red and green arrows show the differences between Firefox and Internet Explorer in rendering two specific transparent images. I have attached one of these images for your reference (only the .png image, because .ico images can not be uploaded here). Sincerely, Dovid de Bresser
已附加屏幕截图

所有回复 (12)

more options

That specific image works for me and I also see it on the tab bar if I open the page. I see some other that are white though.

由cor-el于修改

more options

The image with the red arrow renders now for me too. Must have been a cache issue, because I added it recently. But the image with the green arrow still doesn't render.

Of over 10,000 images, only three have this issue, that they render with me like a dot almost. All three are transparent. Don't know what the issue is. I have added one of them, the other two are .oci images and can't be uploaded.

I tried turning off the 2 standard add-ons I have, but that didn't solve the issue.

The white images are also transparent ones, are white ones, so that is okay.

more options

You can see in my screenshot that the green marked favicon shows properly as well, so this doesn't look like a Firefox issue.

more options

Since on my computer Internet Explorer renders all images fine, and Firefox not, as I showed in the screenshot, it is a Firefox issue. A browser should be able to work fine in all normal surroundings (which I consider my computer to be).

more options

For what it's worth, I see a few blank squares, but none of them collapse to a dot. I don't why your Firefox does that. Do you have any security software that pre-filters your browsing? Just wondering if it's possible that "transparent" in an image file name could trigger some kind of anti-web bug feature that substitutes a trusted 1 pixel GIF for the true image.

more options

The blank ones are white or completely transparent ones.

Interesting idea, but actually I added the word "transparent" just today, after I noticed the issue and guessed that the reason was the partial transparency of the image.

more options

In case there is a corrupted image in cache, could you either reload the page bypassing the cache (Ctrl+Shift+r) or test in a private window?

more options
more options

Ctrl+Shift+r did not fix the issue.

I have no experience with the Inspector. What it said when I hovered over the dotlike image was "li|1,6001x1,6001".

more options

Ah. I see the pages HTML code as well. Looks fine. Precisely the same as for the other images.

more options

Interesting. When in the HTML code I hovered over the link to the image it said "Could not load the image", while when hovering over other images it shows them.

The strange thing being that Internet Explorer does load the image, and other Firefox users here also have been able to load the image.

more options

Solved! Disabling Adblock Plus extension removed the issue. Must be that they block these three websites.