=== Responsive Lightbox & Gallery ===
Contributors: dfactory
Donate link: http://www.dfactory.eu/
Tags: responsive gallery plugin, lightbox, photo gallery, masonry, video gallery, gallery builder, image gallery
Requires at least: 4.0
Tested up to: 5.3
Stable tag: 2.2.2
Requires PHP: 5.2.4
License: MIT License
License URI: http://opensource.org/licenses/MIT

The most popular lightbox plugin and responsive gallery builder for WordPress.

== Description ==

= Everything You Need in a WordPress Gallery Plugin =

<a href="https://dfactory.eu/products/responsive-lightbox/?utm_source=repo&utm_medium=link&utm_campaign=responsive-lightbox-plugin-free">Responsive Lightbox and Gallery plugin</a> is a fully fledged WordPress gallery plugin with a powerful Drag & Drop Gallery Builder and Lightbox functionality that's used daily by more than 300,000 active users and downloaded over 3 Million times.

The beauty of it is how easy it is for you to customize it and enhance its features thanks to <a href="?utm_source=repo&utm_medium=link&utm_campaign=responsive-lightbox-plugin-free">free and premium extensions</a>. 

= Why You Should Use Responsive Lightbox and Gallery Plugin =

= Easiest Gallery Builder =

Say goodbye to coding. With the built-in drag and drop Gallery builder, you will be able to create beautiful galleries, customize them, and add your preferred styles in minutes.

= Vast Customization Options = 

Responsive Lightbox and Gallery plugin is packed with customization options per each gallery and lightbox style so you can tweak them to suit your website's audience with just a few clicks.

= SEO-Friendly and Lightweight =

Responsive Lightbox and Gallery plugin is built keeping SEO and performance in mind, making it lightweight and fast when it comes to page load.

= Premium Extensions =

Looking to provide a premium experience to your visitors? Responsive Lightbox and Gallery plugin offers plenty of premium extensions to provide you with even more flexibility and customization options. 

Need more reasons? <a href="https://dfactory.eu/products/responsive-lightbox/?utm_source=repo&utm_medium=link&utm_campaign=responsive-lightbox-plugin-free">Check them out here</a>!

= What some of our 300,000+ active users say about Responsive Lightbox and Gallery plugin =

>Amazing Gallery plugin!

>Versatile and powerful for both sliders and galleries, many features and style options.

>Really easy to use. Takes all the fiddling out of the process of creating a responsive gallery/lightbox.

>I needed a lightbox plugin that works reliably. This marvelous plugin does the magic. Now I can spend more on my photography and less time customizing WordPress.

>This plugin is quite flexible and effective. The functionality choices are broad and all quite easy to configure.

= Need more galley options? =

Responsive Lightbox and Gallery plugin can be extended with our <a href="?utm_source=repo&utm_medium=link&utm_campaign=responsive-lightbox-plugin-free">premium extensions</a>:

<strong>Premium Extensions:</strong>
> [Photo & Art bundle](https://www.dfactory.eu/products/photo-art-bundle/)
> [Justified Gallery](https://www.dfactory.eu/products/justified-gallery/)
> [Expander Gallery](https://www.dfactory.eu/products/expander-gallery/)
> [Hidden Gallery](https://www.dfactory.eu/products/hidden-gallery/)
> [Masonry Image Gallery](https://www.dfactory.eu/products/masonry-image-gallery/)
> [Slider Gallery](https://www.dfactory.eu/products/slider-gallery/)
> [Lightcase Lightbox](https://www.dfactory.eu/products/lightcase-lightbox/)
> [PhotoSwipe Lightbox](https://www.dfactory.eu/products/photoswipe-lightbox/)
> [Lightgallery Lightbox](https://www.dfactory.eu/products/lightgallery-lightbox/)
> [Strip Lightbox](https://www.dfactory.eu/products/strip-lightbox/)
> [Fancybox Pro](https://www.dfactory.eu/products/fancybox-pro/)

= Full Feature List =

* Powerful and easy-to-use gallery builder
* 3 beautiful gallery templates - Grid, Slider and Masonry
* 8 responsive lightbox scripts (SwipeBox, prettyPhoto, FancyBox, Nivo Lightbox, Image Lightbox, Tos "R" Us, Featherlight, Magnific Popup)
* Create galleries from Media Library or Post attached images
* Media Folders with a drag & drop interface
* Access to millions of images through Remote Library
* Option to import remote images to Media Library
* Gutenberg editor compatibility
* Iframe, Ajax, HTML5 and Inline lightbox content support
* Advanced pagination, incl. AJAX and infinite scroll
* Automatically add lightbox to WordPress image galleries
* Automatically add lightbox to WordPress image links
* Automatically add lightbox to WordPress video links (YouTube, Vimeo)
* Automatically add lightbox to widgets content
* Automatically add lightbox to WordPress comments content
* WooCommerce product gallery support
* Popular Page builders compatibility
* Gallery widget
* Single image widget
* Option to display single post images as a gallery
* Option to modify native WP gallery links image size
* Option to set gallery images title from image title, caption, alt or description
* Option to force lightbox for custom WP gallery replacements like Jetpack tiled galleries
* Option to trigger lightbox on custom jquery events
* Option to conditionally load scripts and styles only on pages that have images or galleries in post content
* Highly customizable settings for each of the lightbox scripts
* Highly customizable settings for each gallery
* Multisite support
* .pot file for translations included

== Frequently Asked Questions ==

= Who is Responsive Lightbox & Gallery for? =

Responsive Lightbox and Gallery is the perfect solution for anyone who wants to create incredibly beautiful responsive galleries with images and/or videos with lightbox effect. This means bloggers, photographers, designers can choose from one of the many layouts available and publish their gallery in minutes.

= Do I need coding skills to use this plugin? =

Thanks to the built-in gallery builder, anyone can create a professional responsive gallery and take advantage of the many layouts and styles. Know how to code? You can adjust the plugin to meet your requirements.

= What's the Photo & Art Bundle? =

Many users love to have different ways to customize their galleries. This bundle gives you access to all our premium extensions, 1-year direct support and all updates, at a hugely discounted price (70% off). [Learn more here](https://dfactory.eu/products/photo-art-bundle/?utm_source=repo&utm_medium=link&utm_campaign=responsive-lightbox-plugin-free).

= Will this plugin slow down my site? =

Responsive Lightbox and Gallery plugin is a lightweight WordPress gallery plugin built with performance and speed in mind. This means your page load time won't be affected.

= How can I get the most of this plugin? =

Responsive Lightbox and Gallery plugin comes with plenty of documentation to guide you while creating and customizing your galleries. On top of that, you'll find plenty of articles on how to add the lightbox effect, how to use the gallery builder, and much more! Need to fix a specific issue? Share it on our forum and get the answer you need!  

= I need a specific style, layout or effect for my galleries. What should I do? =

Responsive Lightbox and Gallery plugin comes with many styles and effects already in it's free version and can be enhanced with 10+ premium extensions like Masonry Gallery Pro, Hidden Gallery, Slider Gallery, and many more. <a href="https://dfactory.eu/products/responsive-lightbox-gallery-extensions/?utm_source=repo&utm_medium=link&utm_campaign=responsive-lightbox-plugin-free">Check them all out here</a> and pick your preferred one!

== Installation ==

1. Install Responsive Lightbox either via the WordPress.org plugin directory, or by uploading the files to your server
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to the Responsive Lightbox settings and set your desired options.

== Screenshots ==

1. screenshot-1.png
2. screenshot-2.jpg

== Changelog ==

= 2.2.2 =
* Fix: Add Media button not working for custom post types
* Fix: Underscore.js dependency missing
* Fix: Undefined variable: current_color_scheme
* Fix: Root Folder missing in media upload dropdown

= 2.2.1 =
* Fix: Invalid arguments passed in class-folders.php

= 2.2.0 =
* New: Introducing Remote Library feature
* New: Gutenberg editor compatibility
* Tweak: PHP 7.3 support

= 2.1.0 =
* New: Introducing Media Library Folders
* New: Media folder gallery type
* New: Filter gallery by category
* Fix: Ajax Pagination not working when logged out
* Fix: CSS issues with multiple Basic grid galleries on one page
* Fix: Removed call to a sanitize_field function

= 2.0.5 =
* Fix: Escaped characters on titles and descriptions
* Fix: Gallery shortcode not accepting image order
* Fix: Gallery using default parameters instead of the settings
* Fix: PHP fatal error if gallery builder is disabled

= 2.0.4 =
* Fix: Gallery sorting and orderby not working
* Fix: Slow db query on post edit screen
* Fix: WooCommerce gallery undefined method for get_gallery_image_ids
* Fix: Uncaught Argument in preview_post_link function
* Fix: Removed a callback to sanitize_textarea_field

= 2.0.3 =
* Fix: Gallery shortcode thumbnails not accepting size parameter
* Fix: Basic templates for WooCommerce gallery 

= 2.0.2 =
* Fix: Default WordPress gallery issue

= 2.0.1 =
* Fix: Syntax error in frontend.php on line 522

= 2.0 =
* New: Powerful gallery builder
* New: 3 gallery templates - Basic Grid, Slider and Masonry
* New: Magnific Popup lightbox
* New: Iframe, Ajax, HTML5 and Inline lightbox content support
* Tweak: Improved Visual Composer compatibility
* Tweak: Revamped admin interface

= 1.7.1 =
* New: Tos "R" Us overlay close option
* Fix: License activation issues
* Tweak: Featherlight script update to 1.7.0
* Tweak: Imagelightbox script update

= 1.7.0 =
* New: Add lightbox to widgets content
* New: Add lightbox to WordPress comments
* New: Gallery widget
* New: Single image widget
* New: Visual Composer compatibility
* New: WooCommerce 3.0 compatibility
* New: [Fancybox Pro](https://www.dfactory.eu/products/fancybox-pro/) premium extension
* New: [Expander Gallery](https://www.dfactory.eu/products/expander-gallery/) premium extension
* New: [Hidden Gallery](https://www.dfactory.eu/products/hidden-gallery/) premium extension
* Tweak: Attachment ID query optimization
* Tweak: Revamped lightbox settings screen
* Tweak: Improved custom galleries compatibility

= 1.6.12 =
* Fix: WooCommerce single product image lightbox

= 1.6.11 =
* Tweak: Added plugin documentation link
* Tweak: Nivo lightbox update to 1.3.1

= 1.6.10 =
* New: Featherlight lightbox script
* New: [Lightgallery Lightbox](https://www.dfactory.eu/products/lightgallery-lightbox/) premium extension
* New: [Slider Gallery](https://www.dfactory.eu/products/slider-gallery/) premium extension

= 1.6.9 =
* New: [PhotoSwipe Lightbox](https://www.dfactory.eu/products/photoswipe-lightbox/) premium extension
* Fix: data-rel attribute missing in multiline links
* Tweak: Removed local translation files in favor of WP repository translations
* Tweak: SwipeBox script updated to 1.4.4

= 1.6.8 =
* Tweak: Tos "R" Us script caption issue when empty link title
* Tweak: Undefined notice on extentions activation.

= 1.6.7 =
* New: WooCommerce product gallery support
* New: [Masonry Image Gallery](https://www.dfactory.eu/products/masonry-image-gallery/) and [Strip Lightbox](https://www.dfactory.eu/products/strip-lightbox/) extensions
* Tweak: Tos"R"Us script updated to 2.4.2
* Tweak: Settings handler improvements.

= 1.6.6 =
* Tweak: Confirmed WordPress 4.4 compatibility

= 1.6.5 =
* Fix: Lightbox activated on non-video youtube links
* Tweak: Added a way to change settings required capability 

= 1.6.4 =
* Tweak: prettyPhoto improvements for mobile devices

= 1.6.3 =
* Fix: Tos"R"Us script initialized multiple times in Ajax
* Fix: Regex issue with replacing rel attribute
* Tweak: Swipebox updated to 1.4.1

= 1.6.2 =
* New: Disable lightbox for single images with data-rel="norl" attribute
* Tweak: Keep rel attribute intact if used in post content links
* Tweak: Vimeo regex improvements

= 1.6.1 =
* Fix: prettyPhoto and Nivo gallery navigation broken
* Tweak: Added another way to close the extensions notification

= 1.6.0 =
* New: Introducing [Justified Gallery](https://www.dfactory.eu/products/justified-gallery/) and [Lightcase Lightbox](https://www.dfactory.eu/products/lightcase-lightbox/) premium extensions.
* New: Option to set single images title from image title, caption, alt or description
* Tweak: Confirmed WP 4.3 compatibility

= 1.5.8 =
* Tweak: Switched to protocol independent URLs in Nivo and Tosrus

= 1.5.7 =
* New: Romanian translation, thanks to [Victor Chiritoiu](http://contacter.ro)
* Fix: Tos "R" Us pagination thumbnails and pause on hover settings not working
* Tweak: Scripts and styles versioning, for better cache handling
* Tweak: French translation updated

= 1.5.6 =
* New: Option to conditionally load scripts and styles only on pages that have images or galleries in post content.

= 1.5.5 =
* Tweak: Multiple backward rel attribute compatibility tweaks
* Fix: Nivo lightbox and Image lightbox js attr errors when no data-rel given
* Fix: Swipebox option to remove top and bottom bars

= 1.5.4 =
* Tweak: Swipebox option to remove top and bottom bars on mobile devices
* Fix: Swipe support for Tos "R" Us lightbox script

= 1.5.3 =
* Fix: Nivo lightbox buttons and styles missing

= 1.5.2 =
* New: Tos "R" Us lightbox script
* Fix: Final fix for video links regex (hopefully)
* Tweak: Switched from rel to data-rel attribute to avoid W3C validation errors
* Tweak: Optimized gallery image size function

= 1.5.1 =
* Tweak: Support for multiple custom galleries per page (via gallery-n) in rel
* Fix: Boolean / subfields bug not saving settings properly
* Fix: Vimeo videos automatic lightbox not working when query parameters were not set

= 1.5.0 =
* New: Revamped User Interface
* New: Option to force lightbox for custom WP gallery replacements like Jetpack tiled galleries 

= 1.4.14 =
* New: Option to set gallery images title from image title, caption, alt or description
* Tweak: Improved regex for Youtube video links

= 1.4.13 =
* Fix: Reverted back the regex change in lightbox selector to gallery links

= 1.4.12 =
* Fix: jQuery prettyPhoto DOM Cross-Site Scripting (XSS) vulnerability
* Tweak: Added regex filetype check before applying lightbox selector to gallery links.
* Tweak: Switched from wp_generate_password() to custom function, without needless DB call.

= 1.4.11 =
* Tweak: Swipebox script updated to 1.3.0.2
* Tweak: prettyPhoto CSS tweaks
* Tweak: fancyBox IE patch

= 1.4.10 =
* Tweak: Image Lightbox updated

= 1.4.9 =
* New: Hungarian translation, thanks to [Zsolt Boda](http://cmfrt.net/)
* Tweak: Remove direct http calls from Javascript to improve https protocol compatibility

= 1.4.8 =
* Tweak: Nivo Lightbox updated to 1.2
* Tweak: Confirmed WP 4.0 compatibility

= 1.4.7 =
* New: Option to modify native WP gallery links image size
* New: Option to donate this plugin :)

= 1.4.6 =
* New: Slovak translation, thanks to [Patrik Zec](http://patwist.com)

= 1.4.5 =
* New: Russian translation, thanks to [Konstantin](http://l-konstantin.ru)

= 1.4.4 =
* Fix: Prevent unintentional scroll to the top when pressing the "enter" key in the opened swipebox, thanks to Arno Welzel

= 1.4.3 =
* New: Estonian translation, thanks to Hugo Amtmann
* Tweak: Swipebox script update, thanks to Arno Welzel

= 1.4.2 =
* Fix: Final fix for IE scroll bug

= 1.4.1 =
* Fix: Swipebox script files inconsistency

= 1.4.0 =
* New: Added Image Lightbox script
* New: Option to load scripts in header or footer
* Tweak: Changed Swipebox script to custom built, thanks to Arno Welzel

= 1.3.6 =
* New: Added rl_lightbox_args filter hook for embeddding different scripts based on any custom conditions (page, post, category, user id, etc.)

= 1.3.5 =
* New: Dutch translation, thanks to [Sebas Blom](http://www.basbva.nl/)

= 1.3.4 =
* Fix: Gallery images displayed as single images

= 1.3.3 =
* New: Triggering lightbox on custom jquery events option
* Tweak: UI improvements for WP 3.8

= 1.3.2 =
* New: German translation, thanks to Andreas Reitberger
* Tweak: Nivo Lightbox script updated

= 1.3.1 =
* New: Spanish translation, thanks to Gaston
* Tweak: Japanese translation updated

= 1.3.0 =
* New: Added Nivo Lightbox script
* New: Option to reset plugin settings to defaults

= 1.2.3 =
* New: Serbo-Croatian translation, thanks to Borisa Djuraskovic

= 1.2.2 =
* New: Option to force PNG icons in case of display problems
* Fix: Bug with video width not working in SwipeBox

= 1.2.1 =
* New: Support for images loaded via AJAX
* Tweak: Updated Japanese translation

= 1.2.0 =
* New: Added FancyBox script
* Tweak: UI enhancements for options
* Tweak: Better YouTube video handling (including https protocol) 

= 1.1.2 =
* New: Japanese translation, thanks to stranger-jp

= 1.1.1 =
* Tweak: UI enhancements for prettyPhoto opacity

= 1.1.0 =
* New: Multisite support
* Fix: Notice during first plugin activation

= 1.0.4 =
* Fix: Changed regex for links to attachment pages, thanks to Darwin

= 1.0.3 =
* New: Added Czech translation, thanks to Vaclav Hnilicka
* Tweak: Small UI enhancements
* Tweak: Changed SwipeBox Top and Bottom bars options description

= 1.0.2 =
* New: Option to display single post images as a gallery
* New: Added French translation by Li-An
* Tweak: Rewritten regex for selector

= 1.0.1 =
* New: Support for video links (YouTube and Vimeo)
* New: Added Polish translation
* New: Added Persian translation by Ali Mirzaei
* Tweak: SwipeBox script updated
* Tweak: Changed method of applying lightbox rel attribute to single images

= 1.0.0 =
Initial release

== Upgrade Notice ==

= 2.2.2 =
* Fix: Multiple bug fixes release