搜尋 Mozilla 技術支援網站

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

"This image cannot be displayed because it contains errors"

  • 10 回覆
  • 29 有這個問題
  • 10201 次檢視
  • 最近回覆由 rhildred

more options

Hello.

I have a large JPG on my website that I am trying to view and I keep getting the same error message. It is a very wide panorama, but it's only 20MB at 72dpi, so it should easily display properly.

It displays properly in every other browser and even on my phone. It does NOT work in FireFox on any of the computers in my studio.

Please let me know what I can do to fix the error.

Thanks, Dustin

所有回覆 (10)

more options

A 20 megabyte image? Your visitors must have very high bandwidth connections, or be very, very patient...

Could you try Firefox's Safe Mode? That's a standard diagnostic tool to bypass interference by extensions (and some custom settings). More info: Troubleshoot Firefox issues using Safe Mode.

You can restart Firefox in Safe Mode using

Help > Restart with Add-ons Disabled

In the dialog, click "Start in Safe Mode" (not Reset)

Any difference?

more options

Hi, Jscher. Thanks for the response. I had already tried all of the above. No luck.

Thanks, D

more options

Do you want to provide a link to the problem page so volunteers can take a look?

By the way, in order to clear the corrupted image file from the cache between loads, you can use Command+Shift+r to reload the page.

more options

I would love to, but it's an unreleased photo for a client that I can't show anyone.

I was hoping someone could troubleshoot given the info in my first post.

Thanks, D

more options

here's a screen shot. The photo loads completely, but it won't display. If I click the screen it magnifies to 100%, which is only represented by the full-size version of this grey box instead of the photo.

Thanks, D

more options

Maybe you can create another image that has this issue.

What are the dimensions of this image?

What does Tools > Page Info > Media say?

Does it work on other platforms like Windows and Linux (you posted on Mac)?

more options

Hey Guys.. I have got the soluition on this. Just right click on the error page and reload the page, the image will open.. Enjoy !!!

more options

Hi:

I also have this problem, and no amount of refreshing helps. The image is small in bytes (131 kb) but is 40,000 px high. It is a filmstrip style spritesheet at http://syndicateme.net/images/filmstrip.png. It displays fine in chrome and my sprite animation works fine too http://syndicateme.net/filmstripDemo.js.html. In firefox I get a message: "The image http://syndicateme.net/images/filmstrip.png can not be displayed. It contains errors." The image was constructed from individual pngs using `convert tumble_src/*.png -transparent white -append public/images/filmstrip.png`

thanks

Rich

由 rhildred 於 修改

more options

Hi Rich, that's a lot of pixels.

If I recall correctly, the new graphics module introduced in Firefox 4 maxes out at 32,766 pixels in height and/or width on Windows. This has been on the "to be fixed" list for a long time, but apparently it's sufficiently rare that it hasn't been prioritized. For now, you probably want to limit the length of your images to no more than 32,766 pixels in height or width.

由 jscher2000 於 修改

more options

Hi Again:

Thanks jscher for your quick reply. I cut it down, using `convert tumble_src/*.png -transparent white -resize x300 -append public/images/filmstrip.png` , to a 30,000 px high image and it is fine.

thanks again

Rich