• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

WP Thinker

The WordPress Playground

  • Snippets
  • Best
  • Guides
  • Reviews
Home / Wordpress

October 22, 2018 Muhammed Swalih

How to Protect your Images from Being Copied

How to Protect your Images from Being Copied

Thieves are everywhere. Not only in real life but in the digital world too, there are some lazy people who are trying to steal some of the valuable images that are copyrighted. Photographers and Graphic Designers are the biggest sufferers of the problem. Many hours of hard work is being stolen in just some seconds. So, preventing the image theft is a very serious matter. In this article, I am sharing you some useful methods to protect your images from being copied. So, let’s have a look at them.

Methods to Prevent Image Theft

There are several methods for protecting photos from being copied. They are very easy to execute and follow. Carefully read them and choose the best method that sounds easier for you.

Disable Right Click on Website

Disabling right click on your website may block those stealers from copying your content. It can block all average users from stealing your content.

This simple javascript will disable the Right click on your website.

<body oncontextmenu="alert('You may not right click'); return false;">

Note: This code is working on Mozilla Firefox and Internet Explorer. Opera may skip the code and allow the right click future even after implementing the script.

You could also use some plugins like Envira Gallery to disable right click on your images.

Use a WaterMark or Logo

Using a branding on your creations are far important than just a sign on your creation. It can make the stealers from downloading your images when they see your watermark or logo on your creation. Because, if they download it, they want to deal with the content and may need to spend some time by editing it. As such people are already lazy, they will go for an image without the watermark.

You can simply add your logo at any corners of your images or entirely as a transparent text. Putting an entire transparent text will be better because they can’t easily remove them with cropping or resizing. Be sure to use highly transparent text that won’t affect the image visibility. You could use the Easy Watermark plugin to easily add watermarks to your photos.

Disable Hotlinking of Images in WordPress

If the image thieves are smart enough, they can still load your images from its source. They can display your images on any of the websites using the source link. Disabling Hotlinking of images on your website will block them. To do this, simply add the following code to the .htaccess file in your web disk.

#disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?wpthinker.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]

Replace the wpthinker.com with your website URL. This will block hotlinking of your images thus protecting it from being displayed on other websites than the specified ones on the .htaccess.

Add Copyright Notices on Your WordPress Site

Copyright Images Protection is very important if you are really caring your hard work. As per the reports, 80% of the content scrapers are copying content from small websites without any copyright notices or warning. If you can spend some money, it is better to go for a good copyright protection service like Copyscape. If you don’t have money to spend on it, they are offering some copyright protection banners and images. Just put them in your footer as visible. Or at least, have a copyright text as you can see in this site’s footer.

But Still Protecting your Images Completely is Impossible

To be honest, protecting your images completely is impossible. If the copying person is smart enough, he can easily get your files either by taking a screenshot or accessing it using the inspect element tool is browsers. But, the above-given one’s are the best way to protect photos from being stolen. They, at least, make it tough to copy the images.

We hope this article helped you to protect images on your website. If so, don’t forget to thank us through your comments. We are always happy to see your words there.

Avatar for Muhammed Swalih

Muhammed Swalih

A WordPress expert who has been tweaking WordPress functions, plugins, themes and almost everything related to WordPress for the past 5+ years.

Primary Sidebar

Related Articles

Footer

WP Thinker is a website that publishes everything related to WordPress, Plugins, Themes, SEO, Blogging, etc.

  • Facebook
  • Twitter
  • Pinterest

Copyright © 2023 · WP Thinker

  • About Us
  • Advertise
  • Write for Us
  • Privacy Policy
  • Terms and Conditions
  • Contact Us
This website uses cookies to serve you better. By continuing to use this website, you agree to our cookie and Privacy Policy.