Linux 软件免费装

Shared Albums for Google Photos (by JanZeman)

开发者 janzeman
更新时间 2026年4月25日 22:35
PHP版本: 7.0 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

embed gallery album swiper google-photos

下载

2.1.8 2.1.6 2.1.7 1.0.0 1.0.1 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 2.0.0 2.0.1 2.0.10 2.0.11 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.0.2 2.1.5

详情介绍:

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 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

安装:

  1. Install & Activate the plugin
  2. Open the plugin's Settings & Onboarding page. It includes a very very large number of customization parameters, many samples, and a live shortcode playground.
  3. Start with a sample there, then use your own Google Photos albums in posts and pages.

屏幕截图:

  • Slider mode with mosaic strip
  • Gallery mode
  • Carousel mode (also shows the video capability)
  • Fullscreen mode with description and EXIF info overlay
  • From low- to high-resolution image support
  • Every sample includes a live preview - edit and see the result immediately
  • Description with custom font
  • Fullscreen mosaic support
  • Mosaic strip in the overlay mode

常见问题:

Does this work with private albums?

No, the album must be shared publicly via a link. Google Photos does not provide API access to private albums without OAuth authentication.

How many photos can I embed?

The plugin can handle up to 300 photos per album. This is a limitation from Google Photos, which typically returns around 300 photos in the initial page load. For performance and stability reasons, very old iOS devices using legacy WebKit may automatically be limited to 25 photos on the client side, even if the server-side limit is higher. All other platforms (desktop, Android, modern iOS/iPadOS) can use the full per-album limit you configure.

Will this slow down my site?

No. The plugin uses lazy loading, progressive image loading, and local bundled frontend assets. Album data is cached, and the refresh interval is configurable with cache-refresh (default: 7 days).

Can I customize the appearance?

Yes! You can override the CSS by adding custom styles to your theme. The main container class is .jzsa-album.

Does it work on mobile?

Absolutely! The gallery is fully responsive and supports touch gestures (swipe, pinch-to-zoom).

How does the download button work?

When enabled with show-download-button="true", a download button appears in inline (non-fullscreen) view. Clicking it downloads the current full-resolution photo to your device. The download uses a server-side proxy to bypass CORS restrictions from Google Photos. Use fullscreen-show-download-button to control the fullscreen download button separately. If omitted, it inherits from show-download-button.

How does the play/pause button work?

In fullscreen mode, a play/pause button appears above the photo counter at the bottom center. Click it or press the spacebar to toggle slideshow on/off. The button shows a play icon (▶) when paused and a pause icon (⏸) when playing. This works regardless of the fullscreen-slideshow setting - if slideshow is disabled, the button lets you start it manually.

What happens if I update the shortcode?

The cache is automatically cleared when you save the post, so changes take effect immediately.

What if I use the wrong URL format?

The plugin provides clear feedback: Errors (gallery won't display):

  • Invalid URL: Not a valid Google Photos link
  • Album is private or link expired: "Unable to Load Album" error
  • Empty album: "No Photos Found" error

更新日志:

2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.0 2.0.11 2.0.10 2.0.9 2.0.8 2.0.7 2.0.6 2.0.5 2.0.4 2.0.3 2.0.1 2.0.0 1.0.6 1.0.3 1.0.2 1.0.1 1.0.0