=== Gallery Blocks with Lightbox. Image Gallery, (HTML5 video , YouTube, Vimeo) Video Gallery and Lightbox for native gallery ===
Author URI: https://blockslib.com/
Plugin URI: https://simplygallery.co
Contributors: gallerycreator
Tags: image gallery, video gallery, lightbox, gallery, wordpress gallery plugin
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 5.3.8
Stable tag: 3.2.7
License: GPL-2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Two in One. Gutenberg gallery blocks (Masonry, Justified, Slider, Carousel, Grid) and highly customizable lightbox.

== Description ==

= Blocks =
SimpLy Gallery Blocks is a friendly, easy-to-use gallery plugin with a list of advanced options for creating responsive Image, Video, Audio galleries.

= Albums =
Combine multiple galleries into one collection and publish it. The gallery from the album will be added to the page using the AJAX request as needed, which will make your page even faster and at the same time as informative as possible.

= Lightbox Plugin =
SimpLy Lightbox Plugin easily displays all linked images from a post or page in highly customizable lightbox. Compatible with native WordPress gallery (Block or Classic Editor). Each Post or Page can have a unique lightbox setting.

### Links ###

* [Masonry, Justified, Grid, Slider, Viewer Gallery Blocks - Live DEMO](https://simplygallery.co/)
* [Album Navigator Block - Live DEMO](https://simplygallery.co/album-navigator/)
* [Albums Block - Live DEMO](https://simplygallery.co/album-beginning/)
* [Viewer Gallery Block - Live DEMO](https://simplygallery.co/simply-viewer/)
* [Premium Showcase Gallery Block - Live DEMO](https://simplygallery.co/showcase-gallery-block/)
* [Premium Diamond Gallery Block - Live DEMO](https://simplygallery.co/diamond/)
* [Premium Horizon Gallery Block - Live DEMO](https://simplygallery.co/horizon-premium-gallery-block/)
* [Premium Split Carousel Block - Live DEMO](https://simplygallery.co/split-carousel/)
* [Premium TagsBox Block - Live DEMO](https://simplygallery.co/tagsbox-covers-gallery/)
* [Premium Portfolio Block - Live DEMO](https://simplygallery.co/portfolio-premium-block/)
* [Tags Filter - Live DEMO](https://simplygallery.co/grid-tags-filter/)
* [SimpLy Slider / Carousel - Live DEMO](https://simplygallery.co/simply-slider-carousel/)
* [YouTube and Vimeo Gallery - DEMO](https://simplygallery.co/portfolio2-youtube-vimeo-mp4/)
* [SimpLy Lightbox and WordPress Native Gallery - DEMO](https://simplygallery.co/simply-lightbox/)

## Features ##

* Albums
* Build dynamic video galleries by simply adding a [YouTube Playlist](https://simplygallery.co/youtube-playlist/) *PRO
* Build dynamic Vimeo video galleries by simply adding a [Video Showcase / Album, User Uploads, Channel or Category](https://simplygallery.co/vimeo-showcase/) *PRO
* Advanced Tags Filter. DeepLinking for tags. Filter without button "All" [Demo](https://simplygallery.co/advanced-tag-filter/) *PLUS/PRO
* WooCommerce Products list, Categories and Tags - [Dynamic Gallery *PRO](https://simplygallery.co/woocommerce-products-gallery/)
* Media Library Assistant.  Att. Cattegory and Att. Tag - Dynamic Gallery *PRO
* [FileBird Media Folders - Dynamic Gallery *PRO](https://simplygallery.co/filebird-folders-in-media-library/)
* [Tags Filter](https://simplygallery.co/tags-filter/)
* Poster generator for a self-hosted video (.mp4). Just select a frame and set it as a featured image for your video.
* Hidden Gallery
* Supports Photo, Video *MP4, YouTube, Vimeo and Audio *MP3 Lightbox is enabled by default*
* HTML5 Browser History support - Deep linking. Disabled by default*
* Lightbox - Mouse wheel navigation and Fading Transition
* Automatic SlideShow support (with CountDown timer)
* Multi-touch gestures support
* Thumbnails support
* Fully Responsive
* Mobile Friendly
* Unlimited colors
* SVG icon
* Physics Based Animations
* FullScreen support
* Browser features control (scrollbar, mousewheel, right click prevention)
* Inactive State detection
* Smart Resizing
* HTML Caption (Attachment Caption or Alternative Text)
* Keyboard and mouse wheel support (navigate and zoom)
* Social Sharing (Facebook, Twitter, Pinterest)
* Smart Loading

## Unrivaled, in every way ##
The first of its kind, [SimpLy Gallery Blocks](https://simplygallery.co/) offers an unrivaled drag and drop gallery building experience in Gutenberg. Add your images, video or audio files in your choice of photo gallery block, customize display settings, hit publish.

## Unparalleled capabilities ##
An innovative transform system lets you instantly change your galleries into another form. Go from a fullscreen Masonry gallery to universal Grid or stylish Justified gallery, with just a single click. You won't find another Gutenberg gallery plugin with this kind of capability. Guaranteed.

## Highly responsive ##
Our Gutenberg gallery blocks are second-to-none, featuring fullscale responsive support. And with fine controls for mobile and desktop styles, you can set custom styling for each gallery.

## Next gen Lightbox ##
Built on top of the latest technologies, SimpLy Lightbox is multi-gestures compatible, smooth and performant! Easily navigate with one or several fingers on your smartphone. Swipe, drag and pinch content naturally like with a native mobile swipeable view. It also supports navigation with keyboard or mouse wheel to slide or zoom.

Our lightbox mimics the most populars UIs like IOS, Android, Google Drive, etc… With a well known UI, users will instantly understand how to use the lightbox, and will easily navigate through your galleries.

SimpLy Lightbox is the only one lightbox to gather all these possibilities and You can use it absolutely for free without buying any addons or premium versions of the plugin.

## A Super-fast experience ##
We've built a highly interactive and intuitive experience with a focus on speed and ease of use. Drag. Drop. Transform. Style.

## A short demo of SimpLy Gallery Blocks ##
In this video you will see how easily you can create photo gallery using SGB Gutenberg photo gallery block.
[youtube https://youtu.be/YEFVCGdTwtM]
Please note that you easily convert block gallery from Masonry to Justified or to Grid or to WordPress image gallery and vice versa.

= Included Gallery Gutenberg Blocks =

 * Albums Block
 * Slider / Carousel Gallery Block
 * Masonry Gallery Block
 * Justified Block
 * Grid Block

== Screenshots ==

1. Masonry block
2. Page and Post Lightbox unique settings. Blocks Editor Plugin Sidebar
3. Lightbox Global Preset
4. Plugin Settings Page
5. Lightbox layout
6. Block transform menu


== Installation ==

1. Upload the `simply-gallery-block` folder to your `/wp-content/plugins/` directory or alternatively upload the block-gallery.zip file via the plugin page of WordPress by clicking 'Add New' and selecting the zip from your computer.
2. Install and activate the Gutenberg WordPress plugin (if pre WordPress 5.0).
3. Activate the SimpLy Gallery WordPress plugin through the 'Plugins' menu in WordPress.

== Frequently Asked Questions ==

= Is SimpLy Gallery Blocks free? =
Yes! SimpLy Gallery Blocks's core features are absolutely free.

== Changelog ==
= 3.2.7 =
* Updated: Internal improvements
* Tweak: Updated Freemius SDK (2.12.1)

= 3.2.6 =
* Fixed: Custom CCC XSS Vulnerability Fixed. Field now has more restrictions. 

= 3.2.5 =
* Added: Autoplay option for slideshow in Lightbox (Slideshow Autostart)
* Changed: Tabindex for thumbnails (set to 0) to comply with WCAG 2.2 standards.
* Fixed: minor bug fixes

= 3.2.4.5 =
* Updated: Internal improvements
* Fixed: Block Viewer - add "alt-text"

= 3.2.4.4 =
* Updated: Internal improvements
* Tweak: Updated Freemius SDK (2.10.1)


= 3.2.4.3 =
* Updated: Internal improvements
* Fixed: XSS vulnerability via saved HTML in the title link of any gallery item

= 3.2.4.2 =
* Tweak: Updated Freemius SDK (2.9.0)

= 3.2.4.1 =
* Fixed: issue with album initialization when adding an album to a page
* Updated: shortcode generation script


= 3.2.4 =
* Updated: Changed the algorithm for calculating responsive height for mobile devices (smartPhone)
* Tweak: Updated Freemius SDK (2.7.4)

= 3.2.3.1 =
* Fixed: issue with Additional CSS class(es)

= 3.2.3 =
* Fixed: an issue with the thumbnail panel on touchscreen devices
* Tweak: Updated Freemius SDK (2.7.3)

= 3.2.2.1 =
* Package updates, security improvements.

= 3.2.2 =
* Fixed: XSS vulnerability (properly escape custom class name and prevent use of undefined values)
* Fixed: minor bug fixes

= 3.2.1 =
* Fixed: a problem with the poster editor (impossibility to delete) in Items Manager
* Updated: Twitter icon to X
* Tweak: Updated Freemius SDK (2.7.2)
* Fixed: minor bug fixes

= 3.2.0 =
* Fixed: bug with displaying Media Library Assistant categories and tags
* Updated: system for loading the list of FileBird folders
* Tweak: Updated Freemius SDK (2.6.2)
* Fixed: minor bug fixes

= 3.1.9 =
* Added: gallery status to the “SimpLy Saved Gallery” block
* Added: gallery status to the "SimpLy Gallery" dashboard widget
* Fixed: shortcode rendering for unpublished galleries
* Tweak: Updated Freemius SDK (2.6.1)

= 3.1.8 =
* Added: support for YouTube Shorts
* Fixed: AlbumNavigator - error displaying some galleries

= 3.1.7 =
* Added: mode for automatically loading pages after the first click of the "Load More" button [Live DEMO](https://simplygallery.co/portfolio2/)
* Update: Freemius SDK
* Fixed: Albums and AlbumNavigator - error displaying some galleries

= 3.1.6 =
* Update: Freemius SDK

= 3.1.5 =
* Tweak: Updated Freemius SDK (2.5.10).
* Fix: Security fix.

= 3.1.4 =
* Update: Freemius SDK
* Added: Gallery Settings -> 'Apply Global Preset' 
* Optimized: Gallery Settings -> 'Use Global Preset'

= 3.1.3 =
* Update: Freemius SDK
* Added: support for publishing folders from Vimeo
* Fixed: management of dynamic galleries
* Fixed: minor bug fixes

= 3.1.2 =
* Update: Freemius SDK
* Fixed: minor bug fixes (video)

= 3.1.1 =
* Update: Freemius SDK

= 3.1.0 =
* Added: the ability to create a poster for a self-hosted video (.mp4). Just select a frame and set it as a featured image for your video.
* Fixed: SimpLy Viewer - item description
* Fixed: playlist icon in YouTube player

= 3.0.9 =
 * Update: Freemius SDK
 * Update: for posters on video and audio files, only the Featured Image will be used.
 * Added: Clean Style for Viewer
 * Fixed: issue with download button (Viewer Block)
 * Fixed: minor bug fixes (Vimeo Cattegories)

 = 3.0.8 =
 * Added: New block with Slider - Viewer
 * Fixed: security vulnerability fixed - improved permission check for different user types for Ajax requests. With the assistance of Erwan Le Russo (Security Research Engineer, WPScan / Jetpack / Automattic)
 * Fixed: issue with lightboxes in Classic Editor
 * Fixed: minor bug fixes (Vimeo)

 = 3.0.7 =
 * Update: Freemius SDK (2.5.3)

= 3.0.6 =
* Added: multiselect option for Att. Cattegory and Att. Tag (Media Library Assistant). (* PRO version).
* Fixed: Minor bug fixes

= 3.0.5 =
* Added: random sorting mode for dynamic galleries (Att. Cattegory, Att. Tag, FileBird Media Folders and SimpLy Tags)
* Fixed: sorting system for Vimeo collections (as far as Vimeo API allows). The sequence of video clips must match the source on the Vimeo service.
* Fixed: Minor bug fixes

= 3.0.4 =
* Updated: poster display method for audio files (MP3)
* Fixed: Minor bug fixes

= 3.0.3 =
* Update: Freemius SDK
* Fixed: Showcase Gallery Block - Next / Previous Buttons
* Upgrade: Zoom mode changed in Lightbox
* Fixed: Minor bug fixes 

= 3.0.2 =
* Added the ability to activate comments on gallery posts
* Fixed: Lightbox description
* Tried to fix the problem in Jetpack - Enable Lazy Loading for images
* Fixed: Minor bug fixes 

= 3.0.1 =
* Fixed: issue with Share and Download buttons 
* Fixed: Minor bug fixes 

= 3.0.0 =
* Updated: block data optimization
* Added: dynamic mode for galleries - automatically update descriptions and tags for gallery items. Disabled by default. (* PLUS version).
* Fixed: Minor bug fixes 

= 2.4.0 =
* Added: ability to create dynamic gallery for selected SimpLy tags (* PRO version).
* Fixed: HTML validity errors  

= 2.3.9 =
* Added: new Showcase Gallery Block (* PLUS version)
* Added: mode to play the entire YouTube playlist (* PLUS version).
* Fixed: Minor bug fixes  

= 2.3.8 =
* Added: Responsiveness improvement. Grid, Masonry, Justified, Slider, Portfolio, Portfolio2 Blocks
* Fixed: Minor bug fixes  

= 2.3.7 =
* Added: SimpLy Gallery permalinks. Settings -> Permalink Settings
* Fixed: Minor bug fixes  

= 2.3.6 =
* Fixed: Freemius - Security fix

= 2.3.5 =
* Added: Block and Preset Selector for Album shortcode.
* Added: Preset editor for Albums and AlbumNavigator blocks (* PLUS version).
* Added: Mode - Display Image in original Size  in Lightbox (* PLUS version).
* Fixed: Minor bug fixes

= 2.3.4 =
* Added: New Album Mavigation Block (* PLUS version)
* Fixed: Lightbox for Native Gallery Block and Native Image Block
* Fixed: Major bug fixes

= 2.3.3 =
* Added: ability to publish Woocommerce Product List, Cattegory or Tag (* PRO version)
* Fixed: MLA Cattegories, Tags and FileBird Folders - convert to staic mode (import content)
* Fixed: Minor bug fixes

= 2.3.2 =
* Added: ability to publish Vimeo Showcase / Album, User Uploads, Channel, Category (* PRO version)
* Added: Paged Mode - "Show more" for Grid, Masonry, Justified, Portfolio and Portfolio2 Blocks (* PLUS version)
* Fixed: Minor bug fixes

= 2.3.1 =
* Fixed: Justified Block and Grid Block layouts (Gallery without background)
* Fixed: Diamond Block - YouTube playlist

= 2.3.0 =
* Added: New Diamond Gallery Block (* PLUS version)
* Fixed: Performance improvement
* Fixed: Minor bug fixes

= 2.2.6 =
* Added: New Accordion Gallery Block (* PLUS version)
* Added: New display mode (Fit) for images in the Slider Block (* PLUS version)
* Fixed: Errors in the block settings panel in the site customization mode (Customize)
* Fixed: Minor bug fixes

= 2.2.5 =
* Added: Improved block transformation mode
* Fixed: Minor bug fixes

= 2.2.4 =
* Added: Items Manager - Bulk Select. It is now possible to easily add (remove) a tag to a group of items. And quick removal of a group of elements from the gallery is available
* Fixed: Removed preloading for videos that have a poster

= 2.2.3 =
* Fixed: improved Blocks compatibility with iOS 11.3 - 13.3

= 2.2.2 =
* Fixed: Albums Block - Gallery Preloader
* Fixed: Slider/Carousel Block - some CSS styles
* Added: New Editor for Tags Filter - Premium Blocks
* Added: DeepLinking for Tags Filter - Premium Blocks
* Added: Ability to disable the "All" button in the Tags Filter - Premium Blocks    
* Updated: Plugin Core - Performance improvement

= 2.2.1 =
* Fixed: Albums Lightbox Settings - Caption source
* Fixed: All JavaScripts that the user added to the image caption, description and title will be filtered and, if the user has no rights, will be blocked. At the request of Vishnupriya Ilango of Fortinet's FortiGuard Labs ( CVE-2021-24667 ).

= 2.2.0 =
* Added: Albums Block
* Fixed: Minor bug fixes

= 2.1.7 =
* Fixed: SimpLy Gallery Custom Post - blocking third-party blocks
* Fixed: Lightbox for Native WordPress Gallery - erroneous actuation
* Fixed: Performance improvement

= 2.1.6 =
* Fixed: conflict with Jetpack 

= 2.1.5 =
* Fixed: Performance improvement 
* Fixed: Global Preset Priority Render
* Added: Horizon Gallery Block (* PLUS version)

= 2.1.4 =
* Fixed: Performance improvement

= 2.1.3 =
* Fixed: Minor bug fixes
* Added: Split Carousel Block (* PLUS version)

= 2.1.2 =
* Fixed: saving custom link with parameters
* Fixed: transitions between blocks

= 2.1.1 =
* Added: source manager (item link or post) to share the item (Share Bar Settings)
* Added: dynamic gallery displays YouTube Playlist (* PRO version)

= 2.1.0 =
* Added: Gallery Items Click Action - Attachment Page
* Fixed: Random ordering
* Fixed: Minor bugs

= 2.0.2 =
* Added: dynamic gallery by Media Library Assistant categories, tags (* PRO version)
* Added: dynamic gallery displays FileBird folder (* PRO version)
* Fixed: block styles

= 2.0.1 =
* Added: Elementor Widget for Saved SimpLy Gallery
* Added: Dashboart Widget

= 2.0.0 =
* Updated: SEO Optimization
* Added: SimpLy CPT and Shortcode
* Added: SimpLy Gallery Widget
* Added: Block for SimpLy CPT
* Added: Storage mode for gallery. The SimpLy gallery will be available (in a simplified style) to visitors after deactivating the plugin or removing the block used
* Updated: Save Method - no longer need additional publishing permissions for Editors (and other roles) in Multisite (Wordpress MU)
* For galleries created in earlier versions of the plugin, an update (Reload Button) and re-save procedure is required (Update Page / Pos).

= 1.8.4 =
* Added: Custom CSS Editor for gallery blocks
* Added: Support for Featured Images for videos (Media Library)
* Added: Premium List Block

= 1.8.3 =
* Added: Capabilities editor for Admin and Editor Roles - Multisite (Wordpress MU)
* Fixed: WPML
* Fixed: Portfolio & Portfolio2 Blocks Tags Filter

= 1.8.2 =
* Fixed: RTL support for Lightbox
* Added: Premium TagsBox Block - Covers Gallery

= 1.8.1 =
* Fixed: SimpLy Slider - low quality video poster
* Fixed: SimpLy Grid - low quality video poster
* Added: Hidden Mode
* Added: Premium Portfolio2 Block

= 1.8.0 =
* Added: Filters (by Tags) 
* Added: Tags for Items
* Added: Premium Portfolio Block
* Fixed: Slider error on touch device
* Fixed: bug Lightbox for WP Native Image

= 1.7.4 =
* Optimization: Slider Slideshow speed
* Fixed: bug Lightbox for WP Native Image

= 1.7.3 =
* Added: New Block - Slider / Carousel Gallery
* Fixed: bug Lightbox for native gallery with some buttons/links

= 1.7.2 =
* Fixed: Resolved conflict with plugins Smush and Jetpack - Lazy Load system

= 1.7.1 =
* Added: Youtube and Vimeo video gallery support
* Added: Lightbox for native gallery for Archive Page (Categoty Page)
* Fixed: Minor bug fixes

= 1.7.0 =
* Added: compatible with Yoast SEO Plugin - Images in the XML sitemap. Need reload SimpLy gallery data and update Post/Page
* Fixed: Poster (Video and Audio) Error with small images

= 1.6.0 =
* Added: Now you can add poster for Video and Audio elements
* Added: Export / Import gallery content
* Added: Random sorting for gallery (frontend)
* Fixed: Conflict with native Image block
* Fixed: Minor bug fixes

= 1.5.1 =
* Optimization: performance improvement - Go to Block Sidebar -> Items Manager -> Reload Gallery and Update Post/Page
* Added: Now you can attach an additional link to an element
* Added: Ability to disable lazy loading mode
* Added: Gallery without background mode (Block without padding)
* Fixed: Minor bug fixes

= 1.4.1 =
* Fixed: HTML Tags in the caption
* minor fix

= 1.4.0 =
* Big changes - Major Udate!
* Added: Supports Video MP4 and Audio MP3
* Added: Gallery sorting by Uploaded date, Title, Caption or Custom
* Added: Caption source - Caption, Title, Alt
* Added: Thumbnail Caption Position (Top / Bottom)
* Added: Option - disable Lightbox for a specific gallery
* Added: Caption source for Lightbox - Caption, Title, Alt

= 1.3.4 =
* Fixed: plugin conflict - removing featured image of a Woocommerce product

= 1.3.3 =
* Fixed: Lightbox Plugin conflict with custom posts

= 1.3.2 =
* Fixed: removed duplicate button (Settings) on Plugins page

= 1.3.1 =
* Fixed: Error on page 404

= 1.3.0 =
* Added: Lightbox for native WordPress Gallery (Gutenberg/Classic Editor)
* Added: Gutenberg Sidebar plugin for lightbox control.
* Added: Settings Page for Clobal Lightbox Pressets
* Added: Settings Page for Blocks Pressets

= 1.2.2 =
* Fixed: “Scroll down the page for the item you viewed” - smooth scroll theme compatibility
* Fixed: input fields in the ColorPickers
* Added: “Space between thumbnails” - increased limit to 40px
* Added: Justified Thumbnail Size - XXL size (Height 450px +)
* Added: partial support for HTML tags in pictures captions

= 1.2.1 =
* Fixed: Corrected the proportions of thumbnails when upload images directly into the gallery block

= 1.2.0 =
* Added: Global Preset - You modify the Global Preset to change all the galleries associated with this preset (automatically)
* Added: For Masonry and Grid new settings - Colums, Min. Thumbnails with (Mobile Device)
* Added: For Justified new option - Last Row Mode
* Added: For Lightbox new transition moode - Fading/Slipping
* Added: Thumbnails - native lazy loading
* Changed: Data structure

= 1.1.4 =
* Fixed: Lightbox – Caption on Mobile Device
* Fixed: Thumbnails – Caption on Touch Device

= 1.1.3 =
* Fixed: Lightbox Settings and some bugs
* Added: Show image caption in Lightbox (this option will be disabled by default)
* Added: Option - Prevent downloading in Lightbox (this option will be enabled by default)

= 1.1.2 =
* Fixed: Lightbox Settings - Copyright Alert

= 1.1.1 =
* Fixed: JavaScript issues with Grid and Justified Editors
* Fixed: CSS Grid and Justified Blocks

= 1.1.0 =
* Fixed: minor JavaScript issues with Blocks Editor
* Added: HTML5 Browser History support (deep linking)
* Added: Lightbox - mouse wheel navigation mode
* Added: auto scroll gallery (follow the one viewed in Lightbox)

= 1.0.0 =
* Initial release on WordPress.org. Enjoy!

== Upgrade Notice == 
= 1.0.0 =
* Initial release on WordPress.org.
