Skip to content

v2.0.0-beta2

Pre-release
Pre-release

Choose a tag to compare

@pixelwatt pixelwatt released this 13 Mar 11:15
· 3 commits to main since this release
v2.0.0-beta2
663c713

This release includes several bugfixes and improvements. As of this release, the legacy layout class is no longer included in the plugin.

Changes:

  • Format-specific options are now conditionally displayed for the selected gallery format (swiper or grid).
  • Slide and grid image sizes and aspect ratios can now be set on a gallery-by-gallery basis. The default option is to use the applicable global size and ratio set in plugin options.
  • Image size checks are now performed via a custom method instead of has_image_size(), as the function does not take core image sizes (medium, large, etc) into account and would return false when core sizes were passed.
  • For swiper galleries with lightboxes enabled, slide images are no longer grouped together into the same lightbox gallery to prevent 2 different gallery navigations from existing (seemed confusing from a UX standpoint).
  • Improved option descriptions in the gallery editor.
  • Tweaked padding for the shortcode metabox.
  • The method_gallery_get_image_size_array() function now accepts an optional argument for easily passing an empty label (ex: "Select a size...")