Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

images display gibberish

  • 2 svar
  • 1 har detta problem
  • 1 visning
  • Senaste svar av 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!

Alla svar (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