Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Don't loading extra big sprite images (width=57600px)

  • 3 odgovori
  • 1 ima ovaj problem
  • 6 views
  • Posljednji odgovor poslao cor-el

more options

I use extra big image as frame sequence for animation (sprite image). The image's width is 57600 px, height = 160px, weight = 1.85 mb. All modern browsers can load and show this image, but Firefox can't. FF also can't show the image by direct url to file.

image demo: http://e-nicko.ru/projects/magicwalls/imgtest.htm image source url: http://e-nicko.ru/projects/magicwalls/imgs/sphere3.jpg

Live demo complete project where used this images for animation: http://e-nicko.ru/projects/magicwalls/

FF Console says: "Syntax Error Image corrupt or truncated: ... Components is not defined"

also in FF javascript IMG .complete says "true" O_o

Please could anyone help me to fix it or explain why it's going so.

I use extra big image as frame sequence for animation (sprite image). The image's width is 57600 px, height = 160px, weight = 1.85 mb. All modern browsers can load and show this image, but Firefox can't. FF also can't show the image by direct url to file. image demo: http://e-nicko.ru/projects/magicwalls/imgtest.htm image source url: http://e-nicko.ru/projects/magicwalls/imgs/sphere3.jpg Live demo complete project where used this images for animation: http://e-nicko.ru/projects/magicwalls/ FF Console says: "Syntax Error Image corrupt or truncated: ... Components is not defined" also in FF javascript IMG .complete says "true" O_o Please could anyone help me to fix it or explain why it's going so.

All Replies (3)

more options

On Windows, Firefox 4 and later traditionally has failed on images larger than 32,766 pixels in any direction. You're not the first person to find this annoying: https://support.mozilla.org/search?a=1&w=2&q=32,766.

I'm not sure when this might get fixed...

more options

Ow, got it. Thank you for your kind reply.

Hope it will be fixed in future FF updates...

more options

I'm not sure if it is that issue. On Linux this would normally work, but it shows a white image. Interesting is that Firefox 3.6 shows the first part of the image, but with wrong colors.

Maybe it is worth to file a bug about this issue.