Hotlinking Etiquette

And now for something a little geekier.

A client of mine asked me about hotlinking images on her blog, Web etiquette, and such things; she isn’t online at the moment — I can’t blame her… It is the middle of the night, after all — so I’m taking the opportunity to throw an answer together here for anyone’s benefit.

Before we can discuss hotlinking, though, it is imperative to define it to prevent any misunderstandings. Basically, hotlinking is displaying an image on your Website while the image itself is being referenced from another Website.

An example of hotlinking can be seen in the comments of Kingdom Geek; each comment includes an avatar image. These images are hotlinked because while they may be displayed on a [code][/code] page, they are being referenced from [code][/code].

This is evident from the HTML used to display the image: [code]<img width=”80″ height=”80″ class=”avatar avatar-80″ src=”;d=identicon&amp;r=R” alt=””/>[/code]

In a nutshell, hotlinking is displaying images on your site without first saving them to your own server.

You may have heard that hotlinking is bad etiquette, and generally, that is true.

You see, while services such as Gravatar or even Flickr are setup to allow remote linking of their images on other sites, most Websites aren’t. While linking to images on others sites may indeed work just fine, you are causing their bandwidth to be used to display items on your site.

In a real sense, this is stealing, and depending on just how much of their bandwidth you are using, you could cause them to incur overage charages with their site host.

Additionally, hotlinking may be bad for your site as it is placing a reliance upon someone else’s site. If their server goes down, your site is left with a broken image. If their webmaster decides to discourage hotlinking by dynamically replacing all remotely loaded images with a shocking or otherwise embarrassing picture, your site will display it until you replace the image, preferably with one hosted on your own server — for example, by using WordPress’ “add media” functionality while posting.

In order to avoid hotlinking and ensure that you are not committing any online faux pas, here are some things to keep in mind while you add media to your site:

  • Whenever possible, link to media on your own server(s).
  • If uploading media to your own server is not possible or practical, look for services that allow hotlinking to their content; these include but are not limited to Flickr and YouTube.
  • If uploading media to your own server is not possible or practical and it is unclear whether the media you want to use is on a site which allows hot links, take the time to contact the site owner or webmaster to ask permission to hotlink the image.
  • Do link back to the source of the media you are using, either by wrapping the image in [code]A[/code] tags, placing a link below the media, or including the citation in a footnote.

If you happen to be on the other side of the hotlinking fence and would like to ensure that your media isn’t being hotlinked from elsewhere, check out this tutorial, just one of the excellent resources available at Perishable Press.

12 thoughts on “Hotlinking Etiquette”

  1. Jeff Starr: You’re absolutely right, Jeff, it can cause a bad user experience. I went quite a while without using Gravatar after I first tried them because it was a dissatisfying experience for me. I’ve not noticed any issues since their purchase by Automattic, though.

  2. Good information, Rick. It is interesting to look at this issue from the user’s perspective. One of the reasons I stopped displaying gravatars on my default theme involves precisely what you address:

    If their server goes down, your site is left with a broken image.

    Not only that, but with content linked from services such as Gravatar, Flickr, and YouTube, pages can take forever to load because they are waiting for overburdened third-party servers to respond. This is one of the reasons why I host content on my own server whenever possible. Tying your pages to third-party servers (in most cases) is just asking for trouble: broken content and slow loading detracts from the user experience.

  3. Rick: You and I talked about this not to long ago in relation to our site redesign. You know my love for hotlinkers….NOT.

    MySpace people are the WORST at hotlinking. Until I put a stop to it, we had hotlinks from all over the place running up our bandwidth on our corporate website. But then, after adding a little line of code and a gross picture–the hotlinks all went away. Now we just block the hotlink with our logo and be done with it.

    It really is amazing how irritating hotlinking can be when you are the victim of it on a significant scale–it not only runs up your bandwidth, but it skews your hit results if you don’t have a way of editing it out. All said, you don’t hotlink unless you have permission. That’s the correct way to handle it.

  4. Oh yeah! Just watched it again last night while working and again today. Saw the hotel dining room scene and thought of you.

  5. Sid Savara: That’s, of course, the biggest danger of hotlinking. You lose all control over the content you’re using, and the content owner has complete freedom to load whatever the heck they want on your site.

    Worst case? Hotlinking could result in a family-friendly site being turned into a smut fest by those who don’t appreciate their bandwidth being stolen.

Leave a Comment

Your email address will not be published. Required fields are marked *

Use your Gravatar-enabled email address while commenting to automatically enhance your comment with some of Gravatar's open profile data.

Comments must be made in accordance with the comment policy. This site uses Akismet to reduce spam; learn how your comment data is processed.

You may use Markdown to format your comments; additionally, these HTML tags and attributes may be used: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.

the Rick Beckman archive
Scroll to Top