=== Hosteria Modal Gallery ===
Contributors: Dolzhenkov
Tags: gallery, lightbox, modal gallery, swiper, image viewer
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight responsive modal gallery for WordPress powered by Swiper.js with native gallery and keyboard navigation support.

== Description ==

Hosteria Modal Gallery is a lightweight, responsive lightbox plugin for WordPress that automatically converts standard image links and native WordPress attachment galleries into a modern, full-screen modal slider powered by Swiper.js.

The plugin is designed for performance and seamless integration, working automatically out of the box without requiring shortcodes or complex setup.

Features:

- Automatically detects direct image links and native WordPress attachment galleries.

- Full keyboard navigation support (Left/Right arrow keys to slide, Escape to close).

- Touch swipe gestures for mobile devices and mouse wheel scrolling on desktop.

- Smooth image pinch-to-zoom and double-tap zoom functionality.

- Customizable background color options via the WordPress admin panel.

- Optional image captions extracted from `alt` attributes.

- Built-in lazy loading for optimized page speeds.

- Translation ready.

- Configured using native WordPress Settings API.


== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/hosteria-modal-gallery/` directory, or install the plugin through the WordPress Plugins screen.

2. Activate the plugin through the **Plugins** screen in WordPress.
3. Open **Hosteria Modal Gallery** from the WordPress dashboard to configure plugin options.

== Frequently Asked Questions ==

= Does the plugin require shortcodes? =

No. It automatically detects direct image links and WordPress attachment galleries on your pages.

= Can I navigate the gallery using a keyboard? =

Yes. You can use the Left and Right arrow keys to navigate between slides, and the Escape key to close the gallery modal.

= Can I display image captions? =

Yes. Enable the option in the plugin settings to display captions from the image `alt` attribute.

== Changelog ==

= 1.4 =
* Added keyboard arrow keys navigation (Left/Right).
* Added full support for native WordPress attachment galleries.

= 1.3 =
* Added background color customization in the plugin settings.

= 1.2 =
* Initial public release.

= 1.0 =
* Initial release.


== Upgrade Notice ==

= 1.4 =
Includes keyboard navigation (Arrow keys) and support for native WordPress attachment galleries.