Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every other image I see hotlinked from imgur returns a 403 - Forbidden error.

If I copy and paste the link into my browser the image will load. Or if I delete the initial i. in the URL, the image loads.

The image will not load if it's used in a bbcode style tag, or if I right click on it and choose open in a new tab.

Do you know the cause or a fix?

These are a couple of examples that you'll probably be able to see, but I can't unless I do one of those above mentioned actions:

http://i.imgur.com/MLGyL.png

http://i.imgur.com/dwvwq.jpg

share|improve this question
    
Are you saying that if you click on either of the image links you have posted you get a 403 forbidden error? What browser are you using? – w3dk Apr 14 '12 at 22:29
    
Yes, but after copying and pasting the link they'll load. I'm using Chrome 18.0.1025.162 m – Louis Apr 14 '12 at 23:41
up vote 2 down vote accepted

I found out that imgur has an outright ban on the site for some reason. No one knows why.

The workaround is to use the site's https connection, then the images will load. We guess imgur didn't ban https://site.com.

share|improve this answer
2  
According to imgur's TOS (imgur.com/tos), if someone else hotlinked pictures that violate TOS on this site before, imgur will ban not just the pictures, but also the site itself in the future. – Tschareck May 16 '12 at 7:03

I'm in the same boat with Greenshot's Imgur Plugin. Greenshot is awesome.

According to Imgur Documentation

Status Code: 403

Forbidden. You don't have access to this action. If you're getting this error, check that you haven't run out of API credits or make sure you're sending the OAuth headers correctly and have valid tokens/secrets.

I assume in my case that many other people love Greenshot and the application just ran out of API credits or something? In your case it sounds like a broken authentication token though I'm knowledge about enough to know how to hypothetically even approach fixing it.

Edit:

ShareX a similar screen shot program seems to have run into a similar problem at some point and the problem on their end was users had to reauthenticate. I'm going to try it on my end and if that works that it might be linked to the problem of hotlink 403 errors.

I wasn't able to relogin to Imgur but fiddling with the configuration settings (or waiting just 20 more minutes while I tried to figure out how to logout) seems to have fixed the issue.

share|improve this answer

Possibly imgur does not allow hotlinking, although I couldn't find any mention about that in their Terms Of Service.
If it does however ban hotlinking, you wouldn't be able to see picture in another website. Some services (e.g. Blogger) also did similar thing in the past.

share|improve this answer
1  
I'm almost positive they allow hotlinking. Actually pictures become popular on the site, and users earn reputation, based upon the number of times an image is served. – Louis Aug 31 '12 at 19:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.