The trick is to have nginx never timeout and just indefinitely hang after the image is sent. The browser renders whatever image data it has received as soon as possible even though the request is never finished. However, when saving the image the browser never finalizes writing to the temp file so it thinks there is more data coming and never renames the temp file to the final file name.
You can't download this image
121–130 of 241 posts
Re: You can't download this image
#122You can't download the code on github either. Because github is currently down.
Re: You can't download this image
#123I was about to "Save as..." when suddenly it struck me that this would be an incredible bait to spread a virus.
Re: You can't download this image
#124When you usually try to download an image, your browser opens a connection to the server and sends a GET request asking for the image. I'm not a web designer, but that seems rather ass-backwards. I'm already looking at the image, therefore the image is already residing either in my cache or in my RAM. Why it is downloaded a second time instead of just being copied onto my drive?
As far as I remember from a previous project from a few years ago, the browser doesn't include a referrer for the download request, which can be used for a distinction. (You'll have to disable caching and E-Tags for this to work.) However, this is easily defeated by the use of the console: Select the sources tab, locate the image and simply drag-and-drop the image from there, which will use the local cache instance f…
I don't understand why browsers aren't always doing this. They already have the image, why redownload it?
Re: You can't download this image
#125How to download this image: 1. Open Inspect (right click and hit "inspect") 2. Click the "Network" tab 3. Refresh the page (while clearing the cache Command+Shift+R) 4. Right click on "lisa.jpg" in the list view under the "Network" tab 5. Click "Open in new tab" 6. Right click the image on the new tab 7. Click "Save image as" Man I can't believe these clowns (or myself for typing all this out--don't know who is worse…
Did you even try this before posting? These steps are no different than just right-clicking the image and choosing "Save image as". It still results in a download that never finishes.
Re: You can't download this image
#126Another idea is canvas: https://jsfiddle.net/dvg45pcz/ But I don't know how to get it to not appear in network sources. Or wasm but I don't know how to write that.
Re: You can't download this image
#127Re: You can't download this image
#128Another idea is canvas: https://jsfiddle.net/dvg45pcz/ But I don't know how to get it to not appear in network sources. Or wasm but I don't know how to write that.
Re: You can't download this image
#129Re: You can't download this image
#130I was about to "Save as..." when suddenly it struck me that this would be an incredible bait to spread a virus.
An image virus? Please do elaborate.
I think certain browsers have security limits on the file-extensions you download, which may include when image->"save as" is used.