No Right Click Images Plugin

plugin banner

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

Author:WebFactory Ltd (profile at wordpress.org)
WordPress version required:3.0
WordPress version tested:6.5
Plugin version:3.9
Added to WordPress repository:26-06-2010
Last updated:27-03-2024
Rating, %:96
Rated by:49
Plugin URI:
Total downloads:353 879
Active installs:30 000+
plugin download
Click to start download

The No Right Click Images Plugin Plugin uses JavaScript to change the right click action on IMG tags to disable the context menu. It disables the context menu on images only so other right click actions, such as links, should work normally.

Optionally the plugin can be disabled for logged in users.

Since it uses JavaScript, it targets more images than using plugins that filter pages and rewrite the tag. The plugin will find many images generated in scripts or pasted into posts and comments, that similar plugins will not find.

It is impossible to keep people from stealing images that appear in web pages, but this plugin will deter casual theft from surfers who do not want to interpret HTML or dig into the browser cache.

Smart Phone support is hit or miss. Some web pages rely very much on clickable images and this suppresses some actions, so if an image is large enough to fill a screen, the page may not be able to scroll. It depends very much on your WordPress theme and how it displays images.

Images uploaded via the WordPress Media uploader will open in a window if clicked. The image will not be protected, so be sure to indicate that there should be no action if the image is clicked at the time you upload the image.

Some browsers prevent JavaScript from changing the browser context menu and this plugin will not be effective in those cases. At best, this plugin will prevent right clicking or dragging images on some browsers.

The plugin no longer tries to replace images with a dummy image. This method hardly ever worked and broke many web pages. If you want to go back, the 2.5 version may be available in the WordPress archive.


FAQ
ChangeLog