跳到内容

Embed Google Photos album

v2.2.2

pavex · 2018年3月10日 上架

Embed Google Photos album using Player widget.

正在使用
3,000+
评分
4.4 / 5
累计下载
5.3 万
最近更新
2026年8月4日
15 条评价需要 WordPress 5.0+已测试到 7.0.9PHP 5.3+

贡献者

截图

Result of this Wordpress plugin - gallery player with Mr. Monstro album
Result of this Wordpress plugin - gallery player with Mr. Monstro album
Preview of source Google Photos shared album
Preview of source Google Photos shared album
Similar photoset with Mr. Monstro in Public album photo sharing website.
Similar photoset with Mr. Monstro in Public album photo sharing website.
Another photosets like a blog in Public album.
Another photosets like a blog in Public album.

This plugin requires a shared Google Photos album link to view photos using gallery/player or carousel. This widget is free to use for WordPress users.

It is very easy to use. Just write a shortcode to your post and include a link of shared Google Photos album as a parameter. Instead of shortcode, html code with links to the photo will be inserted and it will be decorated using Public album javascript.

Example

[embed-google-photos-album link="https://photos.app.goo.gl/CSV7NDstShTUwUZq5"]

[embed-google-photos-album link="https://photos.app.goo.gl/CSV7NDstShTUwUZq5" mode="carousel"]

[embed-google-photos-album link="https://photos.app.goo.gl/CSV7NDstShTUwUZq5" mediaitems-cover="true"]

[embed-google-photos-album link="https://photos.app.goo.gl/CSV7NDstShTUwUZq5" background-color="#007acc"]
  • link – [string] public link of Google Photos album
  • mode – [carousel | gallery-player] setup decorator mode, default id gallery-player
  • width – [int | ‘auto’] set widget width in pixel or “auto” to stretch to 100%
  • height – [int | ‘auto’] set widget height in pixels or “auto” to stretch to 100%
  • image-width – [int] image max-width in pixels, default is 1920
  • image-height – [int] image max-height in pixels, default is 1080
  • autoplay – [true | false] start slideshow in normal view (currently not allowed by decorator)
  • delay – [true | false] slideshow delay in seconds, default is 5 seconds.
  • repeat – [true | false] Enable or disable repeat slideshow, delfault is true
  • mediaitems-aspectration – [true | false], Keep asspect ration of images delfault is true
  • mediaitems-enlarge – [true | false], Turn on/off image enlarge, delfault is true
  • mediaitems-stretch – [true | false], Tunr on/off image stretch, delfault is true
  • mediaitems-cover – [true | false], Cover full canvas. Combine with aspect ratio parameter. Delfault is false
  • background-color – [#RRGGBB | transparent], Setup background color to RGB or transparent. Default is #000000
  • expiration – [int] setup expiration timeout in secons; default is 0; min. custom value is 86400s (experimental property)

This widget, unsupported some features like a picture’s timestamp and captions. For a more detailed description of the component, go to WordPress Google Photos album plugin.

In some cases, it may be better to use the following code directly in the template.

<?php
    echo (new Pavex_embed_google_photos_album()) -> getcode(
        'https://photos.app.goo.gl/CSV7NDstShTUwUZq5', 0, 480, 1920, 1080
    );
?>

How do I update my album?

The album will update automatically as soon as you save or update your post.

Javascript decorator

External javascript decorator is stored on CDN and loading and running of them is optimized for performance.

Javascript widget can be used without photos from Google photos. Detailed information on how to use javascript is available in one of older posts about carusel slideshow on my blog.

About Public album photo sharing website

Public album is now a photo sharing website and service for sharing short photosets available in single user profile.

The service can also be used as an alternative to public Google Photos. It is very suitable for the blogs focused mainly on photos. For example, a photoblog or a online bookmark manager.

Important links

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums