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

Drag and Drop while saving an Image saves a 403 HTML-File instead of the picture

  • 1 reply
  • 0 have this problem
  • 1 view
  • Last reply by peter-91

more options

I encountered an issue which persists since years, it however only happens on some websites...

The Websites where this issue appears are:

https://pixiv.net/ (when downloading images which can only be seen when logged in) https://danbooru.donmai.us/

How does the issue works? (Steps to reproduce)

1. Open any image you want to save 2. Drag and drop the image to your computer into a directory 3. The image is "corrupted" when you want to display it. In fact it isn't even an image, its a HTML File, usually containing a message like "403 - forbidden"

Why does it happen? It seems Firefox tries to re-download the image from the Server while doing drag and drop and usually it does that in a kind of private window? I mean usually the HTML-Files contain "403 Access forbidden" or other messages like "please enable cookies".

I know there are ways to save the images, like with the "Save as..." Dialog. But doing that for a lot of images, which each goes into a different directory the "save as feature is very inconvenient to use.

My question is: Can I just "save" the image which is already in the Firefox cache?

Its already displayed, so why does it even try to re-download it? Especially on slower sites I noticed an annoying long wait to drag and drop images. Seems like a rather bad idea, also just adds unnecessary traffic to the Servers where you download the images from. Beside on some sites with CDNs it just doesn't work and gives you a HTML-File as "png/jpg" image...

I encountered an issue which persists since years, it however only happens on some websites... The Websites where this issue appears are: https://pixiv.net/ (when downloading images which can only be seen when logged in) https://danbooru.donmai.us/ How does the issue works? (Steps to reproduce) 1. Open any image you want to save 2. Drag and drop the image to your computer into a directory 3. The image is "corrupted" when you want to display it. In fact it isn't even an image, its a HTML File, usually containing a message like "403 - forbidden" Why does it happen? It seems Firefox tries to re-download the image from the Server while doing drag and drop and usually it does that in a kind of private window? I mean usually the HTML-Files contain "403 Access forbidden" or other messages like "please enable cookies". I know there are ways to save the images, like with the "Save as..." Dialog. But doing that for a lot of images, which each goes into a different directory the "save as feature is very inconvenient to use. My question is: Can I just "save" the image which is already in the Firefox cache? Its already displayed, so why does it even try to re-download it? Especially on slower sites I noticed an annoying long wait to drag and drop images. Seems like a rather bad idea, also just adds unnecessary traffic to the Servers where you download the images from. Beside on some sites with CDNs it just doesn't work and gives you a HTML-File as "png/jpg" image...

All Replies (1)

more options

I also like to mention: Chromium based Browsers don't have this issue, but I thought there is maybe a solution to save the cache image instead of re-downloading (Probably what chromium based Browsers do)