Title: Embed Google Photos album
Author: pavex
Published: <strong>March 10, 2018</strong>
Last modified: March 19, 2024

---

Search plugins

![](https://ps.w.org/embed-google-photos-album-easily/assets/banner-772x250.png?
rev=1926898)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/embed-google-photos-album-easily/assets/icon-256x256.png?rev
=1922450)

# Embed Google Photos album

 By [pavex](https://profiles.wordpress.org/pavex/)

[Download](https://downloads.wordpress.org/plugin/embed-google-photos-album-easily.zip)

 * [Details](https://wordpress.org/plugins/embed-google-photos-album-easily/#description)
 * [Reviews](https://wordpress.org/plugins/embed-google-photos-album-easily/#reviews)
 * [Development](https://wordpress.org/plugins/embed-google-photos-album-easily/#developers)

 [Support](https://wordpress.org/support/plugin/embed-google-photos-album-easily/)

## Description

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](https://www.publicalbum.org/blog/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](https://www.publicalbum.org/blog/carousel-slideshow-gallery-widget-july-update)
on my blog.

### About Public album photo sharing website

**Public album** is now a [photo sharing website](https://www.publicalbum.org/blog/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](https://www.publicalbum.org/blog/public-google-photos).
It is very suitable for the blogs focused mainly on photos. For example, a **photoblog**
or a [**online bookmark manager**](https://www.reabr.com).

### Important links

 * **Public album sharing website** [https://www.publicalbum.org](https://www.publicalbum.org)
 * **Blog** [https://www.publicalbum.org/blog](https://www.publicalbum.org/blog)
 * **Facebook** [https://www.facebook.com/publicalbumapp](https://www.facebook.com/publicalbumapp)
 * **Reabr.com** [online bookmark manager](https://www.reabr.com)

## Screenshots

[⌊Result of this Wordpress plugin - gallery player with Mr. Monstro album⌉⌊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⌉[

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.⌉[

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.⌉[

Another photosets like a blog in Public album.

## Reviews

![](https://secure.gravatar.com/avatar/cd173e9b7b8d75cf165ff271ef020fa876e1e7d6d779bda131f56adc9bfcedf4?
s=60&d=retro&r=g)

### 󠀁[he simplest plugin to embed a Google photos album in WP.](https://wordpress.org/support/topic/he-simplest-plugin-to-embed-a-google-photos-album-in-wp/)󠁿

 [Alexandra A.](https://profiles.wordpress.org/montenegroecoadventuresorg/) July
30, 2024

the simplest plugin I could find to add a dynamic Google photos album in WP. And
Pavel provides amazing support. Thanks tons!

![](https://secure.gravatar.com/avatar/a6bd4ce0c7956d1f8e0db6cb1a3dfdc53151c6931c93fe50360bfa33e74875e2?
s=60&d=retro&r=g)

### 󠀁[No images – Does not work](https://wordpress.org/support/topic/no-images-does-not-work/)󠁿

 [GMRobbins](https://profiles.wordpress.org/gmrobbins/) November 15, 2023

Followed instruction to the tee but there were no images created for me! Was hopeful,
but expected it would not live up to my anticipation!

![](https://secure.gravatar.com/avatar/2f6b6af162fe507628b7bf9d35290d6b6d6d9378b7e707f32a61b25272a9f92d?
s=60&d=retro&r=g)

### 󠀁[does what it says](https://wordpress.org/support/topic/does-what-it-says-1120/)󠁿

 [hyemark](https://profiles.wordpress.org/hyemark/) October 28, 2022

thx for you help.. it worked on my page

![](https://secure.gravatar.com/avatar/cbd74ed73a0e3eb38e7dd3a89fcc8658267c9e89eb89f580f42ec1b8e77b10fa?
s=60&d=retro&r=g)

### 󠀁[Not working](https://wordpress.org/support/topic/not-working-3981/)󠁿

 [uomiguelito](https://profiles.wordpress.org/uomiguelito/) October 27, 2022 1 reply

Doesnt display the photo albums.

![](https://secure.gravatar.com/avatar/1864c4911a98523b6060e4ace111eb891f03c2381da78b3c1c20c11dada47f57?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-5798/)󠁿

 [Sparrow82](https://profiles.wordpress.org/sparrow82/) November 14, 2021

Good idea. But iframe with photo is not scrollable on mobile

![](https://secure.gravatar.com/avatar/7cbd3b515a7227cba30f6ab7a14208d739ce2f3fd19feff72263e2e4e2ac6a40?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-30011/)󠁿

 [WillOfTheWeb](https://profiles.wordpress.org/willoftheweb/) March 4, 2021

This is an awesome resource which makes adding Google image galleries a breeze.

 [ Read all 15 reviews ](https://wordpress.org/support/plugin/embed-google-photos-album-easily/reviews/)

## Contributors & Developers

“Embed Google Photos album” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ pavex ](https://profiles.wordpress.org/pavex/)

“Embed Google Photos album” has been translated into 3 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/embed-google-photos-album-easily/contributors)
for their contributions.

[Translate “Embed Google Photos album” into your language.](https://translate.wordpress.org/projects/wp-plugins/embed-google-photos-album-easily)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/embed-google-photos-album-easily/),
check out the [SVN repository](https://plugins.svn.wordpress.org/embed-google-photos-album-easily/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/embed-google-photos-album-easily/)
by [RSS](https://plugins.trac.wordpress.org/log/embed-google-photos-album-easily/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.2.1

_Release Date – 19 March 2024_

 * preg_match pattern upgrade
 * WordPress 6.4.3 test

#### 2.2

_Release Date – 7 March 2024_

 * security fix

#### 2.1.9

_Release Date – 20 July 2023_

 * fix missing link attr

#### 2.1.8

_Release Date – 9 June 2023_

 * fix object close tag
 * fix version count

#### 2.1.7

_Release Date – 7 June 2023_

 * fix img element, replaced by object
 * WordPress 6.2.2 test

#### 2.1.6

_Release Date – 19 March 2023_

 * WordPress 6.1.1 test

#### 2.1.5

_Release Date – 7 September 2022_

 * WordPress 6.0.2 test

#### 2.1.4

_Release Date – 7 September 2022_

 * Fixed inconsistency with get_transient and expiration

#### 2.1.3

_Release Date – 11 May 2022_

 * Worpress 5.9 test

#### 2.1.2

_Release Date – 24 August 2020_

 * add background-color property
 * Readme sections about js and photo sharing website.
 * Worpress 5.5 test

#### 2.1.1

_Release Date – 24 April 2020_

 * repair expiration property
 * Worpress 5.4 test

#### 2.1.0

_Release Date – 12 July 2019_

 * use embed-ui.min.js decorator
 * Carousel or Gallery player support
 * slideshow parameters shorten names
 * mediaitems parameters for image setup
 * function getcode() accept complex props

#### 2.0.9

_Release Date – 4 June 2019_

 * load javascript in the footer

#### 2.0.8

_Release Date – 2 June 2019_

 * set_transient expiration support

#### 2.0.7

_Release Date – 10 December 2018_

 * getcode() for templates inline php

#### 2.0.6

_Release Date – 21 November 2018_

 * wp_remote_get

#### 2.0.5

_Release Date – 15 November 2018_

 * fix to use the latest version of decorator

#### 2.0.4

_Release Date – 10 November 2018_

 * using decorator from cdn.jsdelivr.net service

#### 2.0.3

_Release Date – 9 November 2018_

 * fix bug with widget size.
 * set widget dimensions to int or ‘auto’ to stretch to parent element size
 * remove stretch

#### 2.0.2

_Release Date – 25 October 2018_

 * rename and add new properties to setup slideshow.

#### 2.0.1

_Release Date – 19 August 2018_

 * imageWidth/imageHeight options to set better quality of images.

#### 2.0.0

_Release Date – 9 August 2018_

 * Based on simple grabber of the album. Not backward compatibility with previous
   versions.

#### 0.9

 * Proxy of Publicalbum.org embeds iframe.

## Meta

 *  Version **2.2.1**
 *  Last updated **2 years ago**
 *  Active installations **3,000+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.4.8**
 *  PHP version ** 5.3 or higher **
 *  Languages
 * [Dutch](https://nl.wordpress.org/plugins/embed-google-photos-album-easily/), 
   [English (US)](https://wordpress.org/plugins/embed-google-photos-album-easily/),
   [Swedish](https://sv.wordpress.org/plugins/embed-google-photos-album-easily/),
   and [Ukrainian](https://uk.wordpress.org/plugins/embed-google-photos-album-easily/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/embed-google-photos-album-easily)
 * Tags
 * [carousel slideshow](https://wordpress.org/plugins/tags/carousel-slideshow/)[Google Photos](https://wordpress.org/plugins/tags/google-photos/)
   [Wordpress carousel](https://wordpress.org/plugins/tags/wordpress-carousel/)
 *  [Advanced View](https://wordpress.org/plugins/embed-google-photos-album-easily/advanced/)

## Ratings

 4.4 out of 5 stars.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/embed-google-photos-album-easily/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/embed-google-photos-album-easily/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/embed-google-photos-album-easily/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/embed-google-photos-album-easily/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/embed-google-photos-album-easily/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/embed-google-photos-album-easily/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/embed-google-photos-album-easily/reviews/)

## Contributors

 *   [ pavex ](https://profiles.wordpress.org/pavex/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/embed-google-photos-album-easily/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.publicalbum.org/blog/about-pavex)