News for hackers. Stuff that matters.
Re:Imgur Updates TOS, Banning NSFW Content by chrisan on Thursday April 20, 2023 @05:48AM (#35637981)
> redirecting direct image links to their awful js-heavy reddit clone site

Are you perhaps copying the wrong thing when trying to share? I've never had this happen. Even copying an image link from their homepage at the time of this post works as expected

https://i.imgur.com/v052wgb.jpeg (some starwars cartoon) or https://i.imgur.com/VT1B7fn.mp4 (some cat with a pineapple)

Re:Imgur Updates TOS, Banning NSFW Content by kroltan on Thursday April 20, 2023 @06:04AM (#35638056)
Maybe you're stuck in some A/B control group type deal, because the same happens to me and the handful of people I've seen accessing imgur while screensharing.

It's not a new development, I believe this has been the case since at least 2016.

If visiting the page directly, we get served a HTML document with a billion resources that loads the image with a comment section beneath it, and includes a sidebar of "related" and "newest in most viral" content.

Possibly even advertisements, but I wouldn't know, as a good friend doesn't let friends browse the internet without an ad blocker.

Re:Imgur Updates TOS, Banning NSFW Content by segasaturn on Thursday April 20, 2023 @06:22AM (#35638157)
Yes there are ads. They do this so that they can serve ads to people.
Re:Imgur Updates TOS, Banning NSFW Content by taneq on Thursday April 20, 2023 @08:13AM (#35638812)
I've found this to be inconsistent too. Usually I just get the pic but sometimes it seems to go back to the page? And holy hell is that site heavy for something that should just be showing an image, some navigation and a forum thread.
Re:Imgur Updates TOS, Banning NSFW Content by kroltan on Thursday April 20, 2023 @04:59PM (#35646233)
Someone mentioned caching elsewhere, maybe you're viewing a hotlinked imgur picture in the same browser you use to later visit "the page", so it's cached as a raw image.

You could try opening the URL from a different browser? For example my main use case is clicking "Show Original" on Discord, so when it opens in my browser, the first visit is not in the context of an img tag.

Re:Imgur Updates TOS, Banning NSFW Content by taneq on Saturday April 22, 2023 @06:42AM (#35665151)
I just tested this by loading a couple of images in Firefox, clearing cache and saved sessions in Edge, and pasting the direct URLs of the image files. Both files loaded the image instead of redirecting to the page. So I dunno whether it's in A/B testing, or they're fingerprinting my system in some cross-browser way, or what.

Anyone from imgur here who can just tell us? :D

Re:Imgur Updates TOS, Banning NSFW Content by account42 on Thursday April 20, 2023 @09:42AM (#35639760)
I get the redirect on my phone but not on desktop browsers.
Re:Imgur Updates TOS, Banning NSFW Content by kotaKat on Thursday April 20, 2023 @10:22AM (#35640439)
If I click a link to it, it redirects to the full website. If I go to it directly (or curl it), I get the actual image. Might be referrer-based?
Re:Imgur Updates TOS, Banning NSFW Content by thomond on Thursday April 20, 2023 @05:52AM (#35637999)
Neither of those links are direct for me, they both redirect to imgur.io
Re:Imgur Updates TOS, Banning NSFW Content by kuroguro on Thursday April 20, 2023 @06:19AM (#35638138)
Yeah, only works if you've visited that image before.
Re:Imgur Updates TOS, Banning NSFW Content by capableweb on Thursday April 20, 2023 @06:03AM (#35638052)
The problem is not the copying, it's a redirect that happens if someone hasn't seen the page image before, they get redirected from the direct image to the page instead.
Re:Imgur Updates TOS, Banning NSFW Content by TazeTSchnitzel on Thursday April 20, 2023 @06:04AM (#35638054)
Even the i.imgur.com links will redirect when accessed outside an <img> tag. If they don't for you, it's probably due to caching.
Re:Imgur Updates TOS, Banning NSFW Content by Joker_vD on Thursday April 20, 2023 @06:11AM (#35638099)
Wait, what? How do they even distinguish those cases?
Re:Imgur Updates TOS, Banning NSFW Content by TazeTSchnitzel on Thursday April 20, 2023 @06:19AM (#35638137)
The Accept header tells you whether the browser is expecting a web page or an image.
Re:Imgur Updates TOS, Banning NSFW Content by hexage1814 on Thursday April 20, 2023 @09:12AM (#35639402)
In fact you can make the page to send you the damn image, and it supposed to be, if you use some extension to modify your user agent and lies to imgur your are using curl something.
Re:Imgur Updates TOS, Banning NSFW Content by stemlord on Thursday April 20, 2023 @04:05PM (#35645528)
Do you know of such an extension? Tumblr and a few other sites do this too and I've been looking for a client side solution for years now
Re:Imgur Updates TOS, Banning NSFW Content by hexage1814 on Monday May 01, 2023 @04:26PM (#35778667)
Simple Modify Header

Imgur.com user-agent: Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)

Re:Imgur Updates TOS, Banning NSFW Content by account42 on Thursday April 20, 2023 @09:43AM (#35639784)
IMO that along with the Referer header is a mistake or at least the browser should allow you to overwrite that.
Re:Imgur Updates TOS, Banning NSFW Content by Jenk on Thursday April 20, 2023 @08:41AM (#35639039)
You first link redirected me to https://imgur.com/v052wgb
Re:Imgur Updates TOS, Banning NSFW Content by Workaccount2 on Thursday April 20, 2023 @10:23AM (#35640475)
I have use https://libredirect.github.io/ to get around imgurs stupid redirect nonsesne. It acts as a frontend that can directly load the image on a clean page.

So now I get

https://rimgo.pussthecat.org/v052wgb.jpeg

and

https://rimgo.pussthecat.org/VT1B7fn.mp4

when i click so I can actually load them without all the bs.

Re:Imgur Updates TOS, Banning NSFW Content by q7xvh97o2pDhNrh on Thursday April 20, 2023 @12:45PM (#35642689)
Oh, that is weird. I just clicked on the direct links you posted, and it did indeed redirect me to their awful JS-riddled UI. It definitely didn't do that back in the day.

Thanks for the pineapple cat, though. Big fan of that part.