Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Images dimensions are set to 0pix x 0pix on the browser

  • 1 отговор
  • 1 има този проблем
  • 14 изгледи
  • Последен отговор от 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.

Всички отговори (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.