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

right click save image sometimes creates jpg with marker segment length too short problem

  • 7 replies
  • 1 has this problem
  • 1 view
  • Last reply by cor-el

more options

Firefox 38 The option to right click on an image and select save image as, sometimes creates a jpg that will not show in my image viewing program BreezeBrowser,I just get a red cross, and opening it into Photoshop declares it as having a problem. 'Could not complete your request because a JPEG marker segment length is too short (the file may be truncated or incomplete)'

I can go to another website and it works on an image,

The only way to resolve it is to do a printscreen of the entire screen and fiddle around in photoshop.

I have been able to use Right click save image as, in IE for decades, and since using Firefox, this last few years likewise, but in recent months I get this problem.

DBenz

Firefox 38 The option to right click on an image and select save image as, sometimes creates a jpg that will not show in my image viewing program BreezeBrowser,I just get a red cross, and opening it into Photoshop declares it as having a problem. 'Could not complete your request because a JPEG marker segment length is too short (the file may be truncated or incomplete)' I can go to another website and it works on an image, The only way to resolve it is to do a printscreen of the entire screen and fiddle around in photoshop. I have been able to use Right click save image as, in IE for decades, and since using Firefox, this last few years likewise, but in recent months I get this problem. DBenz

All Replies (7)

more options

This appears to be an issue with BreezeBrowser.

Even though this is happening with Firefox and BreezeBrowser, I don't think it's a Firefox issue. It looks like its a BreezeBrowser issue. At least one other person has had this same issue with BreezeBrowser. http://www.digitalweddingforum.com/forum/f24/help-cant-get-images-314685/

The images do not load in BreezeBrowser, but it is possible they will load in other software- such as the free image viewer irfanview. http://download.cnet.com/IrfanView/

more options

Try it in Safe Mode to make sure its not an issue with an interaction with one of your add ons:

Try Firefox Safe Mode to see if the problem goes away. Firefox Safe Mode is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).

If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:

  • Click the menu button New Fx Menu, click Help Help-29 and select Restart with Add-ons Disabled.

If Firefox is not running, you can start Firefox in Safe Mode as follows:

  • On Windows: Hold the Shift key when you open the Firefox desktop or Start menu shortcut.
  • On Mac: Hold the option key while starting Firefox.
  • On Linux: Quit Firefox, go to your Terminal and run firefox -safe-mode
    (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)

When the Firefox Safe Mode window appears, select "Start in Safe Mode".

SafeMode-Fx35

If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems article to find the cause.

To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.

When you figure out what's causing your issues, please let us know. It might help others with the same problem.

more options

Hi, I have tried for refresh, I am sometimes successful and sometimes not on saving the jpg's.

With some pics failing, and some now only showing a link and not the pic, I go to the link and can save from there. Another fails to save and has no link, so I try for addons disable, disable all 3, but when FF restarts as one has to do, it shows the addon and a disable button !!!!

I have tried for disable virtual keyboard that I see is from kaspersky, that allowed a pic to save, yet there is no way to enable it to test again with it enabled, as the button still says disable.

Why is it that selecting disable then restarting firefox from the restart option within that addon disable window, shows still the disable button ? Reason Kaspersky disallows such ! Article on www describes in depth how to overide Kaspersky overifing disable ! Followed it and now it IS disabled.

Made no difference, still get jpgs that are invalid. Its not BreezeBrowser at fault, Photoshop wont open them, neither will Windows Image viewer.

lower picture (tanker with camo pattern shows pump interior) in post #301 I cannot save image as,

The upper one saved with all 3 Kaspersky (website blocker, virtual keyb'd and safe money) disabled, having turned off auto enable in kaspersky first, (as per www article), however the lower tanker requires a right click view image to get it into a black background before it saves ok.

how is it for you ?

http://www.airfieldinformationexchange.org/community/showthread.php?3268-Refuellers/page31

I have also lost the option now of file save as archive, so installed the addon for archive saving. Also lost right click option remove object that allows a save image as to occur with the next right click, sometimes requires two remove object commands. Refreshing Firefox has lost me these, and gained me nothing.

All this worked last year, now its a disaster.

How do i get the right click image remove object option back ? I am lost without it.

DBenz.

Modified by DBenz

more options

Perhaps this isn't relevant, but: Firefox's Safe Mode temporarily disables all the extensions, which is useful for assessing whether an extension (or one of the other things disabled in Safe Mode) is causing the problem. However, if you want a particular extension to be disabled in normal mode, I believe you have to manually disable it on the Add-ons page in normal mode.

Perhaps at this point you should "undo" the Refresh. There's no one-click way to do that, but there is a multi-step approach that has worked for other users.

Overview

These are the steps described in more detail below:

  1. Create a new Firefox profile
  2. Remove everything from that new profile folder
  3. Copy in everything from the old profile folder

Create a new Firefox profile (Windows)

Exit Firefox and start up in the Profile Manager by pasting the following into the Start menu > search box (or Windows Run dialog), and pressing Enter:

firefox.exe -P

Note: Any time you want to switch profiles, exit Firefox and return to this dialog.

Click the Create Profile button, assign a name like OldSettings, and skip the option to change the folder location. Then select that new profile in the dialog and start Firefox.

Open the New Profile folder in Windows Explorer

Firefox in the new profile should look like a factory fresh installation. Open the Troubleshooting Information page using any of these methods:

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • Help menu > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table, click the "Show Folder" button. Firefox will launch your brand new profile folder in Windows Explorer.

Leaving that folder open, switch back to Firefox, and Exit using either:

  • "3-bar" menu button > "power" button
  • (menu bar) File > Exit

When Firefox closes, the profile folder should be front and center, or you can activate it using the Task bar.

Copy Old Data in Place of New

In that new profile folder, select all the contents and delete.

Leaving that window open, open or switch over to your Old Firefox Data folder. Drill down into your old profile folder. At this level you should see a folder named bookmarkbackups among other things.

Select everything (Ctrl+a) and Copy (either right-click > Copy or Ctrl+c).

Switch to the empty new profile folder in other window and Paste (either right-click > Paste or Ctrl+v). This may take a minute since some of the files are large.

Start Firefox

Firefox should start up in that "new" profile with the resurrected old profile data. Success?

more options

Returning to the image saving problem...

DBenz said

lower picture (tanker with camo pattern shows pump interior) in post #301 I cannot save image as,

The upper one saved with all 3 Kaspersky (website blocker, virtual keyb'd and safe money) disabled, having turned off auto enable in kaspersky first, (as per www article),
however the lower tanker requires a right click view image to get it into a black background before it saves ok.

Initially, I got that same errors with both images. I noticed the files were much larger than the ones saved from another browser and Windows did not display a thumbnail for them. When I opened the files in a text editor, they were both HTML pages instead of images. It seems that for some reason, when Firefox requested the images, which are hosted on Photobucket, Photobucket was redirecting from the JPEG file to an HTML page (the one the images were linked to, perhaps not coincidentally) and Firefox was saving that with a .jpg extension.

It's not clear where the fault lies: I'm quite sure I used Save Image As and not Save Link As. Normally, Firefox would just save this image from its cache; was the image not cached for some reason? When Firefox requested the image for download, it indicated various HTML file types in the "Accept" header instead of indicating image file types. That's not helpful, and seems just plain wrong for Save Image As; but what was causing that??

I was able to restore normal behavior using the "Forget About This Site" feature for Photobucket. That is drastic and there might be an easier solution, but since I did it, I have not been able to recreate the problem for testing alternatives.

If you want to try that, the easiest place to access that is in the Library dialog, which you can open to your history by pressing Ctrl+Shift+h (or using Show All History on the menu). You can find an entry on photobucket.com, right-click it, and Forget About This Site. Beware that this clears EVERYTHING about Photobucket in Firefox, from popup permissions, to cookies, saved passwords, history of all visits, even bookmarks to pages or images on Photobucket. It doesn't seem to delete actual downloads from Photobucket, but would remove download history.

more options

Hi, what has worked for me for many years (using Win Explorer) is failing with Mozilla, I am still unable to right click and choose 'save image as' and get a valid jpg created, I have thumbnails large selected in Windows explorer so if I do the save again I can see if the image was created ok the first time as it will show as a picture, but instead its an icon, next to successful jpg pictures, the images of the bowser next to the red car for example in this thread do this to me. http://hmvf.co.uk/forumvb/showthread.php?17475-RAF-Fuel-Bowser-needs-saving-%28WW2-%29

If I launch Internet Explorer and go to that image and right click and choose 'save picture as' it saves successfully, so its definitely Mozilla at fault, not kaspersky or anything else.

I need to fix this as its driving me nuts. Importantly, do others find that their Firefox will save this image ok ?

I can right click and choose copy image, then open photoshop and go file new and paste, and in it comes devoid of any file name though.

Dbenz

more options

Create a new profile as a test to check if your current profile is causing the problem.

See "Creating a profile":

If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.

Boot the computer in Windows Safe mode with network support (press F8 on the boot screen) to see if that has effect.