=== Fast Image Gallery by Google Photos ===
Contributors: dinoskreouzis
Tags: google photos, gallery, photos, embed, shortcode
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A comprehensive WP plugin that allows you to embed Google Photos galleries in your posts and pages with customizable display options.

== Description ==

= Features =

- **Easy Integration**: Simple shortcode system for embedding Google Photos galleries
- **Customizable Display**: Configure columns, rows, image sizes, and spacing
- **Admin Options Page**: Centralized settings management
- **Responsive Design**: Mobile-friendly gallery layouts
- **Clean Interface**: Professional WP admin styling
- **Security**: Built with WP security best practices

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/fast-image-gallery-by-google-photos` directory
2. Activate the plugin through the 'Plugins' screen in WP
3. Go to Settings > Fast Image Gallery by Google Photos to configure default options

== Usage ==

= Basic Shortcode =
```
[google_photos_gallery url="YOUR_GOOGLE_PHOTOS_URL"]
```

= Advanced Shortcode with Custom Options =
```
[google_photos_gallery url="https://photos.app.goo.gl/example" columns="4" rows="2" size="large" spacing="15"]
```

= Shortcode Parameters =

- **url** (required): Google Photos gallery URL
- **columns**: Number of columns (1-6, default: 3)
- **rows**: Number of rows (1-5, default: 2)
- **size**: Image size (small, medium, large, extra-large, default: medium)
- **spacing**: Spacing between images in pixels (0-50, default: 10)

= Getting Google Photos Gallery URL =

1. Open your Google Photos album
2. Click the share button
3. Create a link and copy the URL
4. Use that URL in the shortcode

== Frequently Asked Questions ==

= How do I get a Google Photos gallery URL? =

1. Open your Google Photos album
2. Click the share button
3. Create a link and copy the URL
4. Use that URL in the shortcode

= What are the shortcode parameters? =

- **url** (required): Google Photos gallery URL
- **columns**: Number of columns (1-6, default: 3)
- **rows**: Number of rows (1-5, default: 2)
- **size**: Image size (small, medium, large, extra-large, default: medium)
- **spacing**: Spacing between images in pixels (0-50, default: 10)

== Screenshots ==

1. Plugin settings page in WP admin
2. Gallery display on frontend
3. Shortcode usage examples

== Other Notes ==

= Responsive Design =

The plugin automatically adjusts gallery layouts for different screen sizes:

- **Desktop** (>1024px): Full column layout
- **Tablet** (768-1024px): Reduced columns for better fit
- **Mobile** (<768px): Maximum 2 columns
- **Small Mobile** (<480px): Single column layout

= Browser Support =

- Modern browsers with CSS Grid support
- Fallback layouts for older browsers
- Accessible design following WCAG guidelines

= Security =

- Input sanitization and validation
- Nonce verification for admin forms
- Capability checks for admin access
- XSS prevention measures

= Hooks and Filters =

The plugin provides several hooks for customization:

- `gpg_before_gallery_output` - Before gallery HTML output
- `gpg_after_gallery_output` - After gallery HTML output
- `gpg_default_options` - Modify default plugin options

== Changelog ==

= 1.0.2 =
* Fixed WP coding standards violations
* Improved input validation and sanitization
* Enhanced security measures
* Removed debug code

= 1.0.1 =
* Bug fixes and improvements
* Enhanced compatibility

= 1.0.0 =
* Initial release
* Basic Google Photos embedding functionality
* Admin options page
* Shortcode system
* Responsive design
* Security implementation