Linux 软件免费装
Banner图

Easy Justified Gallery - Photo Gallery Block with Lightbox

开发者 imyuvii
更新时间 2026年8月20日 00:00
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

image gallery lightbox photo gallery justified gallery block

下载

1.0.2 1.0.5 1.2.0 1.0.1 1.0.3 1.0.4 1.0.7 1.0.8 1.0.9 1.1 1.0.6 1.1.1 2.0.0

详情介绍:

Easy Justified Gallery is a responsive photo gallery that lays your images out in tidy, full width rows without cropping them, the way photo sites do it. It does that one thing and nothing else. No upsells, no ads, no dashboard banners, no tracking. Fast by design The whole front end is 7.5 KB of JavaScript and CSS, and none of it is jQuery. Rows are worked out from the image dimensions WordPress already stores, so the layout is correct before a single image has downloaded and nothing jumps around as they arrive. Images load lazily, at the size they are actually displayed, using the srcset WordPress generates. Assets load only on pages that really contain a gallery. A page without one downloads nothing at all, and a gallery that opens images in a new tab never downloads the lightbox. Features Blocks or shortcodes, your choice Add the "Justified Gallery" block and pick a saved gallery, or choose images right inside the block. Prefer shortcodes? [easyGallery id="123"] renders a specific gallery and plain [easyGallery] still works exactly as it did in 1.x.

安装:

  1. Install the plugin through the WordPress plugins screen, or upload the files to /wp-content/plugins/easy-justified-gallery.
  2. Activate it through the Plugins screen.
  3. Go to Galleries > Add Gallery, give it a name, and choose your images.
  4. Add the Justified Gallery block to a page, or paste the shortcode shown on the gallery edit screen.
Upgrading from 1.x? Your existing gallery and its settings are moved into a gallery called "My Gallery" automatically the first time the new version loads. Any [easyGallery] shortcodes already in your content keep rendering it, so there is nothing to do.

屏幕截图:

  • The Justified Gallery block, previewing the real layout inside the editor.
  • Building a gallery: pick the images, drag to reorder, set the layout, copy the shortcode.
  • Choosing images from the WordPress media library.
  • All your galleries in one list, each with the shortcode to place it.
  • The lightbox, with zoom, swipe and keyboard navigation.

升级注意事项:

2.0.0 A full rewrite: a block editor block, unlimited galleries, no jQuery, and a 10 MB bundled library removed. Your existing gallery and shortcodes are migrated automatically. 1.2.0 Compatibility release for WordPress 7.1 and PHP 8.5. Recommended for everyone. 1.0.5 Minor bug fixes, Mandatory for WordPress 4.5 Version or below. 1.1.1 Mandatory security updates.

常见问题:

How do I add a gallery to a page?

In the block editor, add the Justified Gallery block and pick your gallery in the block settings. Anywhere else, paste the shortcode from the gallery edit screen, for example [easyGallery id="123"].

I upgraded from 1.x. Where did my gallery go?

It is under Galleries, called "My Gallery", with the same images, row height, spacing and caption setting it had before. Existing [easyGallery] shortcodes render it without any change, because a shortcode with no id always renders the migrated gallery.

Can I use more than one gallery?

Yes, as many as you want. Each gallery gets its own shortcode, and the block can point at any of them. The same gallery can appear on any number of pages, and editing it updates all of them at once.

Can one gallery look different on different pages?

Yes. In the block, turn off Use the gallery's own layout and set the row height, spacing, captions and click behaviour for that placement. The saved gallery is left alone.

Does it really not use jQuery?

Not on the front end. The layout is plain JavaScript and the lightbox is GLightbox, neither of which needs jQuery. The image picker on the gallery edit screen uses the jQuery that WordPress already loads in the admin, which never reaches your visitors.

How do I add captions?

Set the caption field on an image in the media library, then choose Show on hover or Always visible under Captions. Images without a caption fall back to their alt text, and images with neither are simply shown without one.

How do I use a gallery in a theme template?

<?php echo do_shortcode( '[easyGallery id="123"]' ); ?>

What happened to Settings > EJ Gallery?

It is gone. Galleries are now real content with their own admin screens, so everything lives under Galleries instead. Your old settings were migrated across before the screen was removed.

更新日志:

2.0.0 Release Date: August 19, 2026 The plugin has been rewritten. It is smaller, faster, and no longer carries a settings framework. 1.0.0 Release Date: November 11, 2016 1.0.1 Release Date: November 13, 2016 1.0.2 Release Date: November 14, 2016 1.0.3 Release Date: November 14, 2016 1.0.4 Release Date: November 29, 2016 1.0.5 Release Date: December 2, 2016 1.0.6 Release Date: December 2, 2016 1.0.7 Release Date: April 13, 2017 1.0.8 Release Date: May 23, 2018 1.0.9 Release Date: Nov 28, 2022 1.1 Release Date: Dec 03, 2022 1.1.1 Release Date: Dec 06, 2022 1.2.0 Release Date: August 18, 2026