Feature photo: Mike Alonzo; CC0
What is hotlinking?
Hotlinking is when a website links to an image (or other media file) that is hosted on an external server (i.e. another website) so that the image is embedded into the web page. Websites sometimes do this instead of uploading the image directly, which means they do not actually host the image on their server. When viewing a website, it’s not always immediately clear that an image is hotlinked, because it blends seamlessly into the page.
Why should I care about hotlinking?
The largest issue at stake with hotlinking is copyright infringement. Since the hotlink directs to another file, no actual ‘copy’ of the work has been made. This technicality has created a legal loophole that allows image users to display content they don’t own without committing copyright infringement.
Embedding images without permission remains legal in the EU and US. Things are changing, however, with growing acknowledgment of the problems with hotlinking among major image hosting sites. Imgur, for example, banned hotlinking back in 2017.
Another issue with hotlinking concerns bandwidth. If an image is hotlinked on a website, that website does not have to use any of its own bandwidth (which is chargeable by the server hosting company) to host the file. Instead, every time someone views the image, it eats into the bandwidth of the original host of the file. If you’re a photographer hosting multiple images on your website, this could potentially be a concern.
What can I do about hotlinking?
While the laws are still catching up with the realities of digitization, there are plenty of proactive steps you can take to prevent hotlinking, and limit the damage if you find out your work has been hotlinked.
1. Track your images
It’s important to track your images. It’s very wise to monitor where and how your images are being used. Armed with this information, you can better understand how many sites and/or images are involved, and decide how to proceed. Plus, as and when the law does change, you can be fully prepared to take further action.
2. Issue a Pixsy takedown request
Pixsy’s automated takedown tool tracks your images online and then issues a takedown notice automatically. The tool makes it fast and easy to request that the website operator removes your content. Some image users are unaware of the damage caused by hotlinking, so takedown notices can be very effective in drawing attention to the issue.
3. Move, replace, or break hotlinked images
For image users, hotlinked images have a major disadvantage; namely, that you – the image owner/host – retain full control of the location of the original file. If you discover one of your images has been hotlinked, you can, for example, delete the image and re-upload it so a new link is created. This breaks the hotlink, so your image is no longer displayed on the offending site.
In WordPress, you can simply edit the image permalink, so that the hotlink no longer displays your image. Likewise, in Flickr, if your images are set to public, you can switch them to private and then back to public; this generates a new link and breaks the hotlink.
You can take this process one step further by replacing the hotlinked image with another file: one that will embarrass, shame or otherwise damage the reputation or business of the image user. In a famous example, The Oatmeal updated one of its cartoons that was hotlinked by HuffPo, to include the text (along with a screenshot of their hosting charges): “Please don’t hotlink images without my permission. It costs me money to host these. Here’s my monthly bill.”
4. Watermark hotlinked images ‘on the fly’
It’s possible to display watermarks in your images that have been hotlinked. WordPress has a plugin that does this smoothly; otherwise, if you host your images on your own website and are comfortable with basic coding, you can use a piece of code that adds a watermark to any of your images that are being linked to from outside your domain
5. Block hotlinks with a .htaccess file
If you host your images on WordPress or your own website, there’s another way to block hotlinks. This involves adding a few lines of code into the .htaccess file, which can generally be found in the dashboard area of your server hosting service. (Here’s how to find and edit it in WordPress). Unless you specify otherwise, the hotlink will display an error page in place of your image.
This article offers a good overview of how that process works, and this tool generates a customized .htaccess file based on your needs. It even lets you assign an alternative image to display instead of the blocked hotlinked image.
One important issue to bear in mind with this approach is that, by adding a watermark ‘on the fly’ or blocking hotlinks with a .htaccess file, you are essentially serving search engines different content to that which can be viewed on your website. This runs the risk of your website being banned or downgraded by Google and other search engines, meaning that your web pages may disappear from search results, severely impacting your traffic. One way around this is to include exceptions in your code, so that Google and other search engines (and social media sites, for example) are still allowed to display your original image. The aforementioned .htaccess file lets you add exceptions in the ‘allowed domains’ box.
- Hotlinking is when a website links to and embeds an image (or other media file) that are hosted on an external server (i.e. another website).
- If an image is hotlinked on a website, that website does not have to use any of its bandwidth; instead, each view uses the bandwidth of the file’s original host.
- A technical loophole means that hotlinking is not considered copyright infringement.
- There are still steps you can take to prevent hotlinking and limit the damage.
- Track your images to better understand how many sites and/or images are involved, and decide how to proceed.
- Use Pixsy’s automated takedown tool to tracks your images online and issue a takedown notice.
- Edit the URL of the hotlinked image to break the link, or replace it with another image or message.
- Use a WordPress plugin to add a watermark to hotlinked images.
- Prevent hotlinking by adding a few lines of code to the .htaccess file of your web server host or WordPress.
- Remember to include exceptions so that Google, Facebook, and other search engines and social media sites can access your images via hotlink.