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

PhotoPress – Masonry Gallery

描述

This plugin allows you to apply a masonry style display to a gallery of images. The plugin extends the core [gallery] shortcode by adding a “type” attribute so that you can choose this masonry presentation on a gallery by gallery basis.

Features include:

  • Adds “type” attribute and “masonry” value to gallery shortcode

支持论坛

The PhotoPress team does not provide support for this plugin on the WordPress.org forums. One on one email support is available to users that purchase one of our Premium Support Plans.

Other PhotoPress Plugins

The Guide To WordPress For Photographers

For more information on ways to use PhotoPress and other plugins to build a photpgraphy website check out the WordPress For Photographers e-Book.

Example Usage

Display a gallery of images in a masonry style:

[gallery type="masonry"]

安装

  1. Upload the plugin folder to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ page in the WordPress admin interface
  3. Install and activate the PhotoPress Gallery plugin which this plugin depends on.
  4. Add the “type” parameter to the gallery shortcode in your page/post like so [gallery type="masonry"].

常见问题

Installation Instructions
  1. Upload the plugin folder to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ page in the WordPress admin interface
  3. Install and activate the PhotoPress Gallery plugin which this plugin depends on.
  4. Add the “type” parameter to the gallery shortcode in your page/post like so [gallery type="masonry"].
Why do I need this plugin?

You need this plugin if you want to display an image gallery using a masonry style on a case by case basis.

评价

2016 年 9 月 3 日
Uninstalling 🙁 Update: I meant to give this one star!! I can’t edit the number of stars after submitting. Admin, please help 🙁
阅读所有10条评价

贡献者及开发者

“PhotoPress – Masonry Gallery” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.2.8

Hide galery images while they are loading so that bricks don’t jump around.

1.2.7

Fixing rendering bug on Safari.

1.2.6

Overwriting WP default imageLoaded script.

1.2.5

Fixing bugs with imagesLoaded lib that would cause images to stack.

1.2.4

Adding check for web page to be ready before calculating masonry.

1.2.3

Added proper centering and item padding

1.2.2

fixes image loading race condition

1.2

Clarifying install instructions so that it’s clear thatthis plugin is dependant on PhotoPress Gallery.

1.1

Removing duplicate masonry js file as plugin comes standard as of WP 3.9.

1.0

Initial version of plugin.