plugin-icon

Shared Albums for Google Photos (by JanZeman)

作者 Jan Zeman·
Display publicly shared Google Photos albums with a modern, responsive Swiper-based gallery viewer.
評價
4.8
版本
2.0.7
活躍安裝總數
40
最近更新:
Apr 6, 2026

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

  1. Open Google Photos and select an album
  2. Click the share button (or three-dot menu > Share)
  3. Click “Create link” or “Get link”
  4. 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

  • Uses Swiper – MIT License
  • Uses Plyr – MIT License
  • Developed by Jan Zeman

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.com and image files from *.googleusercontent.com in 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

目前已測試版本
WordPress 6.9.4
此外掛程式已可供下載,並可用於你 系統。