Title: Basic Protected Lightbox
Author: justincardoza
Published: <strong>November 6, 2019</strong>
Last modified: August 17, 2020

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/basic-protected-lightbox.svg)

# Basic Protected Lightbox

 By [justincardoza](https://profiles.wordpress.org/justincardoza/)

[Download](https://downloads.wordpress.org/plugin/basic-protected-lightbox.zip)

 * [Details](https://pcd.wordpress.org/plugins/basic-protected-lightbox/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/basic-protected-lightbox/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/basic-protected-lightbox/#installation)
 * [Development](https://pcd.wordpress.org/plugins/basic-protected-lightbox/#developers)

 [Support](https://wordpress.org/support/plugin/basic-protected-lightbox/)

## Description

This plugin provides a very lightweight, minimalist, jQuery-based lightbox for displaying
full-screen versions of the images from WordPress galleries. It also gives some 
basic copy protection that should foil relatively unmotivated image thieves by inserting
a transparent overlay over the lightbox and all gallery thumbnails. This will prevent
people from copying images in your galleries via right-click or drag-and-drop. It’s
not a true preventative measure, in that someone who really wants to download copies
of your images will most likely find a different way, but it is a little more secure
than linking directly to the full resolution versions. Image copying is pretty much
impossible to fully prevent aside from just not publishing your work in the first
place; my goal with this plugin is to find a good middle ground.

Want to see it in action? Check out the [photos page](https://justincardoza.com/photos)
on my personal website for a live demo.

### Features

 * Minimalist and lightweight: the 3 public-facing files are only about 8KB total
 * Mobile-friendly with swipe gesture support
 * Prevents some common image download methods with a transparent overlay
 * Works immediately and seamlessly with the WordPress default gallery block

## Screenshots

 * [[
 * This plugin in action on my personal website.

## Installation

Install the plugin through the WordPress plugins repository or upload the plugin
files to your `/wp-content/plugins/basic-protected-lightbox` directory. Then activate
the plugin and you’re good to go! It will automatically include the JavaScript and
CSS files in your site’s header and activate whenever it’s on a page with at least
one WordPress gallery block.

## FAQ

### Why should I use this plugin?

If you want to display your portfolio of images on your website, but you want a 
little bit of protection from visitors to your site downloading copies of your images
and reusing them, this plugin might be for you!

### Will this work with gallery plugin X?

This lightbox has been tested with WordPress’s built-in gallery block. If you’re
using a gallery plugin that generates the same markup structure, it should work 
just fine, but I can’t guarantee compatibility with every gallery plugin. It can’t
hurt to try though! If you run into issues, please do reach out via the support 
forum for the plugin.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Basic Protected Lightbox” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ justincardoza ](https://profiles.wordpress.org/justincardoza/)

[Translate “Basic Protected Lightbox” into your language.](https://translate.wordpress.org/projects/wp-plugins/basic-protected-lightbox)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/basic-protected-lightbox/),
check out the [SVN repository](https://plugins.svn.wordpress.org/basic-protected-lightbox/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/basic-protected-lightbox/)
by [RSS](https://plugins.trac.wordpress.org/log/basic-protected-lightbox/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

Added keyboard controls and logic to hide the left/right buttons if they aren’t 
needed.

#### 1.0

Initial release.

## Meta

 *  Version **1.1**
 *  Last updated **6 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.3 or higher **
 *  Tested up to **5.5.18**
 *  PHP version ** 5.6 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/basic-protected-lightbox/)
 * Tags
 * [copy protection](https://pcd.wordpress.org/plugins/tags/copy-protection/)[gallery](https://pcd.wordpress.org/plugins/tags/gallery/)
   [images](https://pcd.wordpress.org/plugins/tags/images/)[lightbox](https://pcd.wordpress.org/plugins/tags/lightbox/)
   [photography](https://pcd.wordpress.org/plugins/tags/photography/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/basic-protected-lightbox/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/basic-protected-lightbox/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/basic-protected-lightbox/reviews/)

## Contributors

 *   [ justincardoza ](https://profiles.wordpress.org/justincardoza/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/basic-protected-lightbox/)