Shared Albums for Google Photos (by JanZeman) allows you to easily display publicly shared Google Photos albums in your WordPress posts and pages using a simple shortcode. The plugin uses the modern Swiper library to provide a beautiful, touch-enabled gallery experience.
Note: This plugin is not affiliated with or endorsed by Google LLC. Google Photos™ is a trademark of Google LLC.
Features
- Google Photos Gallery And Slider – Display public Google Photos albums as responsive galleries or sliders
- Photo And Video Support – Supports both images and videos from shared Google Photos albums
- Fullscreen Viewer – Mobile-friendly fullscreen viewing with touch gestures, keyboard controls, and slideshow support
- Photo Info Overlays – Dynamic placeholders for counters, filenames, dimensions, dates, and EXIF data
- Download And Link Buttons – Optional inline and fullscreen action buttons
- Performance Features – Lazy loading, progressive loading, caching, and large album support
- Shortcode Playground – Admin-only sandbox on the Settings page for experimenting with
[jzsa-album]shortcodes and previews - Mosaic Strip – Optional mosaic thumbnail strip alongside the main viewer
Many more customization parameters and samples are available on the plugin’s Settings & Onboarding page.
How It Works
The plugin fetches your public Google Photos album and creates a responsive gallery. Simply paste the share link from Google Photos into the shortcode.
Security & Error Handling
- SSRF protection – validates Google Photos URLs
- Proper output escaping for XSS prevention
- WordPress coding standards compliant
- Swiper library bundled locally
- User-friendly error messages for invalid album links
Usage
Basic Usage
[jzsa-album link="https://photos.google.com/share/AF1QipOg3EA51ATc_YWHyfcffDCzNZFsVTU_uBqSEKFix7LY80DIgH3lMkLwt4QDTHd8EQ?key=RGwySFNhbmhqMFBDbnZNUUtwY0stNy1XV1JRbE9R"]
Common Example
[jzsa-album link="https://photos.google.com/share/AF1QipOg3EA51ATc_YWHyfcffDCzNZFsVTU_uBqSEKFix7LY80DIgH3lMkLwt4QDTHd8EQ?key=RGwySFNhbmhqMFBDbnZNUUtwY0stNy1XV1JRbE9R" mode="slider" corner-radius="16" show-link-button="true" show-download-button="true"]
Shortcode Parameters
The only required parameter is link – the Google Photos share URL.
All other parameters are optional.
This readme intentionally keeps shortcode examples short to avoid drift.
For the complete and current parameter reference, defaults, inheritance rules, a very very large number of customization parameters, many samples, and the shortcode playground, use the plugin’s Settings & Onboarding page in WordPress admin:
Settings -> Shared Albums for Google Photos
Getting Your Album Share Link
- Open Google Photos and select an album
- Click the share button (or three-dot menu > Share)
- Click “Create link” or “Get link”
-
Copy the album share link and paste it into the shortcode:
[jzsa-album link=”https://photos.google.com/share/AF1QipNxLo…”]
Important: The album must be public (shared via link) for the plugin to access it.
Credits
Privacy Policy
This plugin does not collect or store any user data.
Use of external Google services
- The plugin fetches public Google Photos album pages from
https://photos.google.comand image files from*.googleusercontent.comin order to render the galleries. - Only publicly shared album links are supported; the plugin has no access to private albums or any content that is not already available via a public share link.
- The plugin does not collect, store, or transmit user credentials or personal data. It only caches album HTML and image URLs in WordPress transients for performance, and this cache is stored locally in your WordPress database.
Support
- Bug reports: Open an issue on GitHub
- Feature requests: Post on the support forum
- Leave a rating: Review on WordPress.org
- Buy Me a Coffee: buymeacoffee.com/janzeman