| 开发者 | janzeman |
|---|---|
| 更新时间 | 2026年4月25日 22:35 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[jzsa-album] shortcodes and previewsNo, the album must be shared publicly via a link. Google Photos does not provide API access to private albums without OAuth authentication.
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.
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).
Yes! You can override the CSS by adding custom styles to your theme. The main container class is .jzsa-album.
Absolutely! The gallery is fully responsive and supports touch gestures (swipe, pinch-to-zoom).
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.
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.
The cache is automatically cleared when you save the post, so changes take effect immediately.
The plugin provides clear feedback: Errors (gallery won't display):
@luisbenitez777 for sharing the idea.@naveenbachwani for the detailed repro steps.@naveenbachwani for detailed testing, UX observations, and support-thread feedbackfullscreen-display-max-width and fullscreen-display-max-heightinfo-wrap and info text alignment parametersgallery-buttons-on-mobile behavior for touch devicesmosaic="true") for slider and carousel modesfullscreen-background-color (default #000) to control fullscreen background separatelyshow-download-button="true" did not render the download buttondisabled, manual, or auto for slideshow and fullscreen-slideshowfullscreen-toggle="click" for video slides in gallery mode[jzsa-album] shortcodes without leaving admin