Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
No Right Click Images Plugin icon

No Right Click Images Plugin

v4.0
by WebFactory · 4.8 (50 reviews)

Disables right click context menu on images to help deter leeches from glomming images.

20K+ active installs Updated Nov 13, 2024 Tested to 6.7.2
Try Demo Download
Pre-installed Ready in ~10s No card

About No Right Click Images Plugin

The No Right Click Images Plugin disables the right click context menu on images to deter casual image theft. It works on most browsers, but may not be effective on all, and may affect the scrolling of web pages on mobile devices. The plugin is free, but the developer encourages users to support their work by purchasing their books or rating the plugin.

Frequently asked questions

What does the No Right Click Images Plugin do?
The plugin disables the right-click context menu specifically on image tags using JavaScript. This helps deter casual theft of images from your website. Other right-click actions, such as on links, should still function normally.
Does this plugin prevent all image theft?
No, it is impossible to completely prevent people from taking images that appear on web pages. This plugin aims to deter casual theft from users who are not inclined to inspect HTML or delve into browser caches.
Are there any known limitations or compatibility issues?
Smart Phone support can be inconsistent, and some browsers may prevent JavaScript from altering the context menu, rendering the plugin ineffective in those cases. Additionally, images uploaded via the WordPress Media uploader that open in a new window will not be protected unless configured otherwise during upload.
Does the plugin affect images generated by scripts or pasted into posts?
Yes, because it uses JavaScript, the plugin can target many images generated in scripts or pasted into posts and comments, which similar plugins might miss.
Can the plugin be disabled for logged-in users?
Yes, the plugin offers an optional setting to disable its functionality for users who are logged into your WordPress site.

Changelog

4.0

  • 2024/07/07
  • minor security fixes

3.9

  • 2024/03/13
  • bug fixes

3.8

  • 2024/01/15
  • security fixes
  • rewrite of most functions

3.7

  • Tested under WordPress 6.2

3.6

  • Tested on 5.7 version of WordPress.

3.5

  • Tested on 5.4 version of WordPress.

3.4

  • Added right click enable for admins only option.

3.3

  • Removed background image checking for IOS. Seems to break everything.
  • made IOS processing default to off for new installations.

3.2

  • Added a CSS option for IOS to suppress the context menu on long presses and selects.
  • Reworked the get_options method to remove redundancies.

3.1

  • Fixed Option initialization

3.0

  • Completely rewrote the plugin javascript. It uses a different set of functions to stop the right click.
  • Major rewrite of the plugin loading method.
  • Removed javascript that did nothing. Just the bare bones settings are included now.

2.5

  • added Cell phone styles to javascript for Cell phones. I hope that his helps with Cell phone images. Tested on an old iPad – it may work. Works mostly in iPad, android phone works on some images.

2.4

  • Added alternate replacement image url for webmasters who don’t like the o-slash
  • Added an option to turn off IOS Android events that screwed up some web sites.
  • Added an extra Security check on plugin load.

2.3

  • Added support for longclick and touch interface for android and ipad/iphone.

2.2

  • Changed the default so that logged in users cannot copy images. Too many people tested the plugin without checking the settings and assumed that the plugin was broken. They did not read the documentation, try the settings, or check the WordPress forums. I am sorry that I had to do this, but users were indicating on the WordPress plugin page that it didn’t work.

2.1

  • Added option so that logged in users are allowed to copy images. Disables the plugin for logged in users. Captured copy to clipboard events to prevent another way of copying in some browsers. Fixed a problem in image replacement that prevented an image from being restored when another image was right clicked before the image times out.

2.0

  • Separated javascript into a loadable file. Added an option to replace images on right click in order to thwart FireFox users who choose to block javascript from controlling the context menu. Made drag and drop blocking optional.

1.4

  • Backed out click check on images because it broke galleries. I left it in as an option if you want to change the code.

1.3

  • Disabled links to local images (png, gif, jpg) in wp-content, preventing them from opening in a new window. This would allow these images to be saved or copied.

1.2

  • Added code that works when javascript creates or loads a new image. Disabled drag and drop on images so images can’t be dragged to desktop.

1.1

  • deleted some unused code in the javascript

1.0

  • initial release

Try other plugins

Advanced Custom Fields (ACF) icon

Advanced Custom Fields (ACF)

4.5 · 2M+ installs

Advanced Custom Fields (ACF) helps you easily customize WordPress with powerful, professional and intuitive fields. Proudly powering over…

Regenerate Thumbnails icon

Regenerate Thumbnails

4.6 · 1M+ installs

Regenerate the thumbnails for one or more of your image uploads. Useful when changing their sizes or your…

Autoptimize icon

Autoptimize

4.7 · 1M+ installs

Autoptimize speeds up your website by optimizing JS, CSS, images (incl. lazy-load), HTML and Google Fonts, asyncing JS,…