Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

images display gibberish

  • 2 odpovede
  • 1 má tento problém
  • 10 zobrazení
  • Posledná odpoveď od 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!

Všetky odpovede (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