[wordpress插件] Basic Protected Lightbox基本保护灯箱

wordpress 插件 文章 2020-02-29 16:40 456 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin provides a very lightweight, minimalist, jQuery-based lightbox for displaying full-screen versions of the images from WordPress galleries.

此插件提供了一个非常轻巧,基于jQuery的极简灯箱,用于显示WordPress画廊中图像的全屏版本。

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 on my personal website for a live demo.

在我的个人网站上查看照片页面进行实时演示。

Features

功能

    • Minimalist and lightweight: the 3 public-facing files are only about 8KB total
    • 极简和轻巧:这3个面向公众的文件总共只有8KB左右

    • 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
    • 立即使用WordPress默认图库块无缝地工作

安装步骤

Install the plugin through the WordPress plugins repository or upload the plugin files to your /wp-content/plugins/basic-protected-lightbox directory.

通过WordPress插件存储库安装插件,或将插件文件上传到您的 / wp-content / plugins / basic-protected-lightbox 目录。

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.

它会自动将JavaScript和CSS文件包含在您网站的标题中,并在页面上至少包含一个WordPress画廊块时激活。

下载地址
https://downloads.wordpress.org/plugin/basic-protected-lightbox.zip
-EOF-

AI助手支持GPT4.0