News for hackers. Stuff that matters.
Re:Reddit launches image uploads, ditching alliance with Imgur by GhotiFish on Thursday May 26, 2016 @01:44AM (#11775801)
test link: http://i.imgur.com/PhY2HUP.jpg

is this happening for anyone in thread?

maybe try holding down CTRL and hammering the link to see if it's a probability thing?

I have never seen the behavior being described.

Re:Reddit launches image uploads, ditching alliance with Imgur by sillysaurus3 on Thursday May 26, 2016 @01:52AM (#11775839)
Result: http://i.imgur.com/86BlJiS.png

There does appear to be some kind of heuristic at work here. For example, following the above link results in the traditional behavior for me, but following your link leads to the full imgur page.

EDIT: Ah-ha, figured it out.

1. Click on an i.imgur.com link

2. If it takes you to the full page, right click on the image and click "Open in new tab"

3. The original i.imgur.com link will now take you to the direct image.

Amusing heuristic. After following these steps, I'm unable to reproduce my own screenshot. http://i.imgur.com/PhY2HUP.jpg always takes me to the direct image.

Re:Reddit launches image uploads, ditching alliance with Imgur by ThisIs_MyName on Thursday May 26, 2016 @07:36AM (#11777143)
I got redirected only on the first click. Thank god for uBlock Origin.
Re:Reddit launches image uploads, ditching alliance with Imgur by Tinyyy on Thursday May 26, 2016 @07:36AM (#11777144)
It still redirects on iOS Safari.
Re:Reddit launches image uploads, ditching alliance with Imgur by miyuru on Thursday May 26, 2016 @02:19AM (#11775955)
It's not a probability thing, it has to do with the http accept header you are sending.

When you click on a link the browser sends 'html' as http accept header. If you link the image using img src the browser sends 'image' as http accept header.

So if you send image with a small expire header, the server can redirect you to the site, if you click on a link.

Re:Reddit launches image uploads, ditching alliance with Imgur by mobilerastafari on Thursday May 26, 2016 @01:51AM (#11775832)
Following that link on mobile safari leads to a page that contains ads and comments in addition to the image.
Re:Reddit launches image uploads, ditching alliance with Imgur by Phil_Latio on Thursday May 26, 2016 @02:10AM (#11775921)
Got redirected on first click, but not on second or third.

I'm not on mobile.

Re:Reddit launches image uploads, ditching alliance with Imgur by dopamean on Thursday May 26, 2016 @11:32AM (#11778702)
Interesting. The first click brought me to the imgur page but a second click brought me directly to the image.
Re:Reddit launches image uploads, ditching alliance with Imgur by Dylan16807 on Thursday May 26, 2016 @10:32AM (#11778217)
It redirects if I have a referer. A benefit to blocking them for cross-site requests, I suppose.
Re:Reddit launches image uploads, ditching alliance with Imgur by ljk on Thursday May 26, 2016 @01:56AM (#11775853)
huh interesting. the first time it brought me to a page but after that it's direct link
Re:Reddit launches image uploads, ditching alliance with Imgur by userbinator on Thursday May 26, 2016 @06:54AM (#11776987)
I've never seen imgur redirect either. I suspect it's user-agent related.
Re:Reddit launches image uploads, ditching alliance with Imgur by welanes on Thursday May 26, 2016 @02:13AM (#11775932)
Make it HTTPS and the direct link works: https://i.imgur.com/PhY2HUP.jpg (for me, at least).
Re:Reddit launches image uploads, ditching alliance with Imgur by tripzilch on Thursday May 26, 2016 @06:15AM (#11776831)
Nope, same thing. First time I get html, second time the direct link.
Re:Reddit launches image uploads, ditching alliance with Imgur by qu4z-2 on Friday May 27, 2016 @12:55AM (#11783980)
Looks like part of it is that after you've visited the direct link once it's served from cache.