Live data from Hacker News

You can't download this image

youcantdownloadthisimage.online

121–130 of 241 posts

Re: You can't download this image

#121
Works fine with wget it just keeps hanging but if you CTRL+C it and open the file it'll look fine.

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.

Re: You can't download this image

#124
post #28

When 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…

> [...] which will use the local cache instance for the source

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

#125
post #101

How 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.

Inspect > Copy > Image Data-URL works perfectly fine in Firefox.

Re: You can't download this image

#127
No one seems to mention that Chrome keeps spinning on the HTML load as well and eventually kills the image. This means the webpage itself is broken and fails to work. Not just the download. Soo.. this just does not work for anything..

Re: You can't download this image

#129
post #77

Earlier quoted context omitted.

You can right-click canvas and save it as image.

Oh, you're right! I guess you'd have to disable the context menu too.

Which doesn't help either because in the Inspect view you can just click "Screenshot node" on the HTML element.

Re: You can't download this image

#130
post #123

I 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.

using "filename" within the "Content-Disposition" header, you could theoretically trick a user into downloading a non-image file despite the url containing lisa.jpg

I think certain browsers have security limits on the file-extensions you download, which may include when image->"save as" is used.

Post reply on HN