Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

images display gibberish

  • 2 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par 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!

Toutes les réponses (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