X
Tap here to go to the mobile version of the site.

Support Forum

The image [image] cannot be displayed because it contains errors.

Posted

I'm using Firefox ESR 24.5.0 on Red Hat Enterprise Linux 6.3 with GNOME 2.28.2.

It gives me that error when I try to view this image http://graphbench.org/images/hairball-header-cropped.jpg

It's only 1170x311 and 81.1kB so size shouldn't be a problem. When I ctrl-s to save the image, it opens fine in GIMP, Eye of Image viewer GNOME 2.28.2, and gThumb image viewer 2.10.11. Opening the image in Firefox from my hard drive fails with the same error. I have no extensions installed and it fails even in safe mode. The image loads fine in Firefox on a different (Windows) computer on the same network.

I've shift-refreshed to reload the image and that doesn't help. I yum uninstalled firefox, deleted my .mozilla folder, and yum installed firefox again but the problem remains. I went into about:config and there were no bold network.http.* prefs. The permissions for the domain are not restricted. I went to "Tools > Page Info > Media" and the image was not blocked. permissions.default.image is set to default. I "Allow pages to choose their own colors, instead of my selections above". When loading this page http://graphbench.org/ I get this error in the web console "[13:44:33.313] Image corrupt or truncated: http://graphbench.org/images/hairball-header-cropped.jpg @ http://graphbench.org/images/hairball-header-cropped.jpg" Four other images fail on that same page: images/nelson.jpg images/myers.jpg images/ceze.jpg and images/kahan.jpg .

I'm using Firefox ESR 24.5.0 on Red Hat Enterprise Linux 6.3 with GNOME 2.28.2. It gives me that error when I try to view this image http://graphbench.org/images/hairball-header-cropped.jpg It's only 1170x311 and 81.1kB so size shouldn't be a problem. When I ctrl-s to save the image, it opens fine in GIMP, Eye of Image viewer GNOME 2.28.2, and gThumb image viewer 2.10.11. Opening the image in Firefox from my hard drive fails with the same error. I have no extensions installed and it fails even in safe mode. The image loads fine in Firefox on a different (Windows) computer on the same network. I've shift-refreshed to reload the image and that doesn't help. I yum uninstalled firefox, deleted my .mozilla folder, and yum installed firefox again but the problem remains. I went into about:config and there were no bold network.http.* prefs. The permissions for the domain are not restricted. I went to "Tools > Page Info > Media" and the image was not blocked. permissions.default.image is set to default. I "Allow pages to choose their own colors, instead of my selections above". When loading this page http://graphbench.org/ I get this error in the web console "[13:44:33.313] Image corrupt or truncated: http://graphbench.org/images/hairball-header-cropped.jpg @ http://graphbench.org/images/hairball-header-cropped.jpg" Four other images fail on that same page: images/nelson.jpg images/myers.jpg images/ceze.jpg and images/kahan.jpg .

Chosen solution

Bugefun wrote:

I'm using Firefox ESR 24.5.0

Can you try the latest release version? If ESR picked up a bug from Firefox 24, it'll never be fixed (except when ESR jumps to Firefox 31, that is).

Bugefun wrote:

It gives me that error when I try to view this image http://graphbench.org/images/hairball-header-cropped.jpg

No problems here, in Firefox 29.0 in Linux Mint.

Read this answer in context 1

Additional System Details

Installed Plug-ins

  • The Totem 2.28.6 plugin handles video and audio streams.
  • DivX Web Player version 1.4.0.233
  • nspluginwrapper is a cross-platform NPAPI plugin viewer, in particular for linux/i386 plugins.This beta software is available under the terms of the GNU General Public License.
  • This plug-in detects the presence of iTunes when opening iTunes Store URLs in a web page with Firefox.

Application

  • Firefox 24.5.0
  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0
  • Support URL: https://support.mozilla.org/1/firefox/24.5.0/Linux/en-US/

Extensions

  • Troubleshooter 1.1a (troubleshooter@mozilla.org)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: Tungsten Graphics, Inc -- Mesa DRI Intel(R) Q35
  • adapterDeviceID: Mesa DRI Intel(R) Q35
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: Tungsten Graphics, Inc
  • driverDate:
  • driverVersion: 1.4 Mesa 7.11
  • info: {u'AzureCanvasBackend': u'cairo', u'AzureFallbackCanvasBackend': u'none', u'AzureContentBackend': u'none'}
  • numAcceleratedWindows: 0
  • numAcceleratedWindowsMessage: [u'blockedGfxCard']
  • numTotalWindows: 1
  • webglRendererMessage: [u'blockedGfxCard']
  • windowLayerManagerRemote: False
  • windowLayerManagerType: Basic

Modified Preferences

  • browser.cache.disk.capacity: 358400
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 358400
  • browser.places.smartBookmarksVersion: 4
  • browser.startup.homepage_override.buildID: 20140422100838
  • browser.startup.homepage_override.mstone: 24.5.0
  • dom.mozApps.used: True
  • extensions.lastAppVersion: 24.5.0
  • gfx.blacklist.direct2d: 4
  • gfx.blacklist.layers.direct3d10: 4
  • gfx.blacklist.layers.direct3d10-1: 4
  • gfx.blacklist.layers.direct3d9: 4
  • gfx.blacklist.layers.opengl: 4
  • gfx.blacklist.stagefright: 4
  • gfx.blacklist.webgl.angle: 4
  • gfx.blacklist.webgl.msaa: 4
  • gfx.blacklist.webgl.opengl: 4
  • network.cookie.prefsMigrated: True
  • places.database.lastMaintenance: 1400688632
  • places.history.expiration.transient_current_max_pages: 96848
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • plugin.importedState: True
  • privacy.sanitize.migrateFx3Prefs: True
  • storage.vacuum.last.index: 0
  • storage.vacuum.last.places.sqlite: 1400688632

Misc

  • User JS: No
  • Accessibility: No
Gingerbread Man 403 solutions 1537 answers

Chosen Solution

Bugefun wrote:

I'm using Firefox ESR 24.5.0

Can you try the latest release version? If ESR picked up a bug from Firefox 24, it'll never be fixed (except when ESR jumps to Firefox 31, that is).

Bugefun wrote:

It gives me that error when I try to view this image http://graphbench.org/images/hairball-header-cropped.jpg

No problems here, in Firefox 29.0 in Linux Mint.

''Bugefun wrote:'' I'm using Firefox ESR 24.5.0 Can you try the latest release version? If ESR picked up a bug from Firefox 24, it'll never be fixed (except when ESR jumps to Firefox 31, that is). ''Bugefun wrote:'' It gives me that error when I try to view this image http://graphbench.org/images/hairball-header-cropped.jpg No problems here, in Firefox 29.0 in Linux Mint.
graminavis 0 solutions 1 answers

Helpful Reply

At our site we experienced this problem too, on a Scientific Linux release 6.3 with firefox-24.5.0-1.el6_5.i686. It seems to be a bug in the rpm package of Firefox that doesn't require the upgrade of libtiff.

We solved the problem by manually upgrading with "yum update libtiff". In our case this triggered the update of libjpeg-turbo, too.

At our site we experienced this problem too, on a Scientific Linux release 6.3 with firefox-24.5.0-1.el6_5.i686. It seems to be a bug in the rpm package of Firefox that doesn't require the upgrade of libtiff. We solved the problem by manually upgrading with "yum update libtiff". In our case this triggered the update of libjpeg-turbo, too.
jmarler 0 solutions 1 answers

Helpful Reply

I have discovered that a very common reason for this is that the image type does not match the file extension. This causes the webserver to report the wrong mime-type. For example, if you take a photoshop image, rename it to a .jpg file, and put it on a webserver, it will not load in Firefox. If you are working on troubleshooting this issue, try downloading the file and verifying that the file type matches the jpg. I fixed this for a client today who took a .psd file, renamed it to .jpg, uploaded it to a webserver, and wondered why it wouldn't load in Firefox.

I have discovered that a very common reason for this is that the image type does not match the file extension. This causes the webserver to report the wrong mime-type. For example, if you take a photoshop image, rename it to a .jpg file, and put it on a webserver, it will not load in Firefox. If you are working on troubleshooting this issue, try downloading the file and verifying that the file type matches the jpg. I fixed this for a client today who took a .psd file, renamed it to .jpg, uploaded it to a webserver, and wondered why it wouldn't load in Firefox.
cor-el
  • Top 10 Contributor
  • Moderator
16553 solutions 149426 answers

The image [image] cannot be displayed because it contains errors. is message that Firefox displays as a placeholder of the actual image until this image has been retrieved and decoded/expanded and can be rendered.

If that message stays then the image can't be displayed for some reason and possibly was blocked. Firefox can't handle psd images and you will have to make sure to export such an image in Photoshop to JPG or PNG format.

''The image [image] cannot be displayed because it contains errors.'' is message that Firefox displays as a placeholder of the actual image until this image has been retrieved and decoded/expanded and can be rendered. If that message stays then the image can't be displayed for some reason and possibly was blocked. Firefox can't handle psd images and you will have to make sure to export such an image in Photoshop to JPG or PNG format.

Question owner

I updated firefox with yum and it installed a newer version (I forgot which one) that fixed the problem. But annoyingly, that version wasn't the newest so when I went to mozilla.org/firefox it said I needed to update, while with the 24 ESR it didn't say that.

I updated firefox with yum and it installed a newer version (I forgot which one) that fixed the problem. But annoyingly, that version wasn't the newest so when I went to mozilla.org/firefox it said I needed to update, while with the 24 ESR it didn't say that.