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 dimensions are set to 0pix x 0pix on the browser

  • 1 réponse
  • 1 a ce problème
  • 14 vues
  • Dernière réponse par cor-el

more options

I have to keep changing the src of an image tag in my javascript. I am finding that sometimes the image is not getting loaded as its dimensions are getting set to 0pix x 0pix. If I manually do a reload of the image then the image is seen properly. Is there a workaround or a fix to get over this issue. I find that the same code works fine in other browsers and this issue exists only with the Firefox browser. Appreciate your help.

I have to keep changing the src of an image tag in my javascript. I am finding that sometimes the image is not getting loaded as its dimensions are getting set to 0pix x 0pix. If I manually do a reload of the image then the image is seen properly. Is there a workaround or a fix to get over this issue. I find that the same code works fine in other browsers and this issue exists only with the Firefox browser. Appreciate your help.

Toutes les réponses (1)

more options

A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.