Image Protection

Description

This plugin protects images on your WordPress site from being copied, saved, or captured through screenshots. It achieves this by implementing various protective measures via JavaScript, ensuring that your visual content remains secure from unauthorized use.

Plugin developed by TWK media.

Important Disclaimer

While this plugin implements various protection measures, it cannot guarantee 100% protection against all possible methods of image capture or copying. Due to the nature of web browsers and operating systems, determined users may find ways to circumvent these protections. This plugin should be considered as a deterrent rather than an absolute solution. We do not provide any warranty or guarantee regarding the effectiveness of the protection measures.

Features

  • Prevents right-click saving of images
  • Blocks keyboard shortcuts for screenshots
  • Disables drag-and-drop of images
  • Prevents browser-based image copying
  • Compatible with all major browsers

Requirements

  • WordPress 5.0 or higher
  • PHP 7.4 or higher
  • JavaScript enabled in the browser

Installation

  1. Install the plugin either via the WordPress.org plugin repository, or by uploading the files to your server:
    • Method 1: Search for ‘Image Protection’ in WordPress > Plugins > Add New
    • Method 2: Upload the plugin files to the /wp-content/plugins/image-protection directory
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

FAQ

How does the Image Protection plugin work?

The plugin uses JavaScript to implement various techniques that prevent users from copying, saving, or taking screenshots of images on your site.

Will this plugin affect my website’s performance?

The plugin is designed to be lightweight and should not significantly impact your website’s performance.

Is this plugin compatible with all themes?

Yes, the Image Protection plugin is compatible with most WordPress themes. However, some themes may have custom scripts that could interfere.

Can I disable the protection for specific images?

Yes, you can disable protection for specific images in two ways:
1. Add the class no-image-protection to the image:
html
<img src="image.jpg" class="no-image-protection">

2. Add the data attribute data-image-protection="false":
html
<img src="image.jpg" data-image-protection="false">

Can I force protection on specific images or elements (like canvas)?

Yes, you can force protection on specific images or elements in two ways:
1. Add the class force-image-protection to the image:
html
<img src="image.jpg" class="force-image-protection">

2. Add the data attribute data-image-protection="true":
html
<img src="image.jpg" data-image-protection="true">

This will ensure the image or element is protected even if it would normally be excluded (like SVG images).

How can I uninstall the plugin?

To uninstall, go to the Plugins page in your WordPress admin, find the Image Protection plugin, and click “Deactivate.” You can then delete it if desired.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Image Protection” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Image Protection” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.