Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

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

Learn More

images display gibberish

  • 2 个回答
  • 1 人有此问题
  • 10 次查看
  • 最后回复者为 cor-el

more options

Hi support -

I'm having issue with the way my Wordpress site is displaying images in Firefox.

http://dev.thecosmicpath.com/test/

Clicking on the image displays a page full of gibberish. I did some research and I saw your article about properly configuring MIME types but I can't seem to get that to fix. I do have access to the htaccess file and added: AddType text/css .css line in, but that didn't seem to fix. Hoping you can help me out. Thank you!

Hi support - I'm having issue with the way my Wordpress site is displaying images in Firefox. http://dev.thecosmicpath.com/test/ Clicking on the image displays a page full of gibberish. I did some research and I saw your article about properly configuring MIME types but I can't seem to get that to fix. I do have access to the htaccess file and added: AddType text/css .css line in, but that didn't seem to fix. Hoping you can help me out. Thank you!

所有回复 (2)

more options

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.

more options

That image is send as text/plain as you can see in Tools > Page Info > General. So it is clearly a problem with the server configuration.

It works this way:

data:text/html,<img src='http://dev.thecosmicpath.com/wp-content/uploads/Bs1r788CAAEi-xo1.jpg'>

Note that the thumbnail fails as well:

You would need AddType image/jpg .jpg