Title: Basic Protected Lightbox
Author: justincardoza
Published: <strong>2019 年 11 月 6 日</strong>
Last modified: 2020 年 8 月 17 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# Basic Protected Lightbox

 作者：[justincardoza](https://profiles.wordpress.org/justincardoza/)

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

 * [详情](https://cn.wordpress.org/plugins/basic-protected-lightbox/#description)
 * [评价](https://cn.wordpress.org/plugins/basic-protected-lightbox/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/basic-protected-lightbox/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/basic-protected-lightbox/#developers)

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

## 描述

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

## 屏幕截图

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

## 安装

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.

## 常见问题

### 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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Basic Protected Lightbox」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Basic Protected Lightbox」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/basic-protected-lightbox)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/basic-protected-lightbox/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/basic-protected-lightbox/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/basic-protected-lightbox/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/basic-protected-lightbox/)。

## 更新日志

#### 1.1

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

#### 1.0

Initial release.

## 额外信息

 *  版本 **1.1**
 *  最后更新：**6 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **5.5.18**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/basic-protected-lightbox/)
 * 标签
 * [copy protection](https://cn.wordpress.org/plugins/tags/copy-protection/)[gallery](https://cn.wordpress.org/plugins/tags/gallery/)
   [images](https://cn.wordpress.org/plugins/tags/images/)[lightbox](https://cn.wordpress.org/plugins/tags/lightbox/)
   [photography](https://cn.wordpress.org/plugins/tags/photography/)
 *  [高级视图](https://cn.wordpress.org/plugins/basic-protected-lightbox/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/basic-protected-lightbox/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/basic-protected-lightbox/)