This plugin changes the way the in-built WordPress Gallery is displayed to the user.
此插件可更改内置WordPress画廊向用户显示的方式。
The WordPress author uploads images to their pages/posts as normal and uses the usual [gallery] shortcode to display the gallery but instead of the default WordPress image gallery with rows and columns of images, the user will be shown a more fancy image gallery inspired
WordPress的作者可以正常地将图像上传到他们的页面/帖子,并使用通常的[gallery]短代码来显示图库,但是会代替默认的WordPress图片库(带有行和列的图像),向用户展示更精美的图片库
by the Galleria JQuery Image gallery.
由 Galleria JQuery图片库。 p>
This plugin is rather specific and custom – it has no configurable settings other than the default WordPress gallery options.
此插件非常具体且自定义-除了默认的WordPress画廊选项外,它没有其他可配置的设置。
It is designed so that once set up, it is invisible to the WordPress author – they will not need to learn or do anything different from normal WordPress gallery usage.
它经过精心设计,因此一旦设置,它对WordPress作者是不可见的-他们将无需学习或做与正常WordPress画廊用法不同的任何事情。
Documentation for the WordPress gallery can be found at http://en.support.wordpress.com/images/gallery/.
可以在http://en.support.wordpress.com/images/gallery/中找到有关WordPress画廊的文档。 p>
In order to be efficient, the plugin uses the WordPress in-built image scaling feature – Whenever a WordPress author uploads a image, WordPress automatically creates 3 different sizes of the image (A thumbnail size, a Medium size and a Large size
为了提高效率,该插件使用WordPress内置的图像缩放功能–每当WordPress作者上传图像时,WordPress都会自动创建3种不同尺寸的图像(缩略图尺寸,中尺寸和大尺寸)
).
)。
In order to avoid wasteing bandwidth by scaling the image on the front-end, this plugin uses the “thumbnail” size and the “Medium” size images.
为了避免通过缩放前端图像浪费带宽,此插件使用“缩略图”大小和“中等”大小的图像。
The disadvantage of this is that the default WordPress image dimensions aren’t really suitable for Galleria and will need to be altered.
这样做的缺点是默认的WordPress图像尺寸并不是真的适用于Galleria,因此需要更改 strong>。See the plugin installation instructions for details.
有关详细信息,请参见插件安装说明。 p>
Users should follow the Codex on using the [gallery]
shortcode: https://codex.wordpress.org/Using_the_gallery_shortcode
用户应遵循法典上的 [gallery] code>短代码:https://codex.wordpress.org/Using_the_gallery_shortcode p>Developers can learn more about the WordPress shortcode API: https://codex.wordpress.org/Shortcode_API
开发人员可以了解有关WordPress短代码API的更多信息:https://codex.wordpress.org/Shortcode_API p>
Current features:
当前功能: p>
- Displays one main ‘medium’ sized image and a grid of ‘thumbnail’ sized images
- 显示一个主要的“中等”尺寸的图像和一个“缩略图”尺寸的图像的网格 li>
- Image captioning.
- 图像字幕。 li>
- Next/Previous links to cycle through the gallery
- 下一个/上一个链接可循环浏览图库 li>
- User can click on main image to see ‘full-size’ version.
- 用户可以单击主图像以查看“完整尺寸”版本。 li>
- Zero additional configuration options (plugin uses existing WordPress image options, i.e. image sizes)
- 零其他配置选项(插件使用现有的WordPress图像选项,即图像大小) li>
- Efficient: No front-end image resizing via CSS
- 高效:不通过CSS调整前端图像的大小 li>
ul>
Current limitations:
当前限制: p>