Google Photos Gallery met shortcodes


De beste Google Foto’s plugin om je Google fotoalbums weer te geven op je WordPress blog. De plugin is volledig responsive en ziet er geweldig uit. Google Photo Gallery is gebaseerd op de Google Picasa API. Gebruik de plugin om je Google Foto- (Picasa-) albums op je WordPress blog te tonen. Met behulp van de shortcodes is het eenvoudig om één enkel album of om al je albums te tonen. Albums kunnen in rasterweergave, lijstweergave of carrousel vorm getoond worden. Image lightbox ondersteunt touch-apparaten (Pro) en is volledig responsive.

  • You get various display options for photo albums and the images with albums.
  • You can display Photo Albums in Grid View
  • You can display Photo Albums in List View
  • You can display Photo Albums in Carousel View
  • You can display Images in Albums in Grid View
  • You can display Images in Albums in List View
  • You can display Images in Albums in Carousel View
  • You can display Images in Albums in Justified Image Grid View
  • You can mix and match displays too. So you can show albums in carousel/grid/list and have the images in the album the user clicks on open up in grid view or list view or whatever!
  • You can show/hide Album Title
  • You can show/hide album details such as Number of images in Album and date published.
  • You can show/hide Image Title
  • You can show/hide Image Caption
  • You can configure the carousel to autoplay, show/hide dots, slides to scroll, slides to show, show/hide arrows etc
  • You can override nearly all general settings in each shortcode.
  • You can enable/disable download original image link.
  • There is no limitation to the number of albums and photos.
  • The visitor can browse through the photos in each album you decide to publish
  • You can add a Recent Albums Widget to the Sidebar that display your latest albums covers
  • You can show Public / and or Private Albums

If you have suggestions for a new add-on, feel free to email me at
Want regular updates?
follow me on Twitter!


  1. PHP5.4 of hoger
  2. cURL running on your web host


  • [cws_gpp_albums_gphotos access=own] Zal je albums tonen.

  • [cws_gpp_images_in_album_gphotos] This is a place holder to display the results of an album that has been clicked on, on a separate page.

  • [cws_gpp_images_by_albumid_gp id=’6625618881344302193′] toont afbeeldingen van een specifiek album door middel van het ‘id’ attribute. Gebruik het album ID van de album ID help pagina.

Shortcode Usage

  • Display Albums Covers in a Carousel
    [cws_gpp_albums_gphotos access=own theme=carousel dots=1 slidestoshow=3 slidestoscroll=1 autoplay=1 arrows=1 results_page=results-carousel show_details=1 show_title=1 num_results=6 hide_albums=’Profile Photos,Auto Backup’]

  • Display Album Covers in a Grid View
    [cws_gpp_albums_gphotos access=own theme=grid results_page=results-grid show_title=1 show_details=1 num_results=6 hide_albums=’Auto Backup,Profile Photos’]

  • Display Album Covers in a List View
    [cws_gpp_albums_gphotos access=own theme=list results_page=results-list show_title=1 show_details=1 thumb_size=185 num_results=3]

  • Display Images from Clicked Album Cover in a Carousel View
    [cws_gpp_images_in_album_gphotos theme=carousel show_title=0 thumbsize=150]

  • Display Images from Clicked Album Cover in a Grid View
    [cws_gpp_images_in_album_gphotos theme=grid show_title=1 show_details=1]

  • Display Images from Clicked Album Cover in a List View
    [cws_gpp_images_in_album_gphotos theme=list show_title=1 show_details=1 num_results=13 thumb_size=250]

  • Display Images in a Specific Album, see ‘Album Shortcodes’ page for shortcodes complete with your Album IDs. Only one album per page.(PRO VERSION ONLY)
    [cws_gpp_images_by_albumid_gp id=5218507736478682657 theme=grid show_title=0 show_details=0]

There are 2 main shortcodes:

  • [cws_gpp_albums_gphotos access=own]
  • [cws_gpp_images_in_album_gphotos]

Each shortcode will work as is by using the default values saved on the plugin settings page.

The defaults can be overridden by placing attribites on the shortcode below are some examples.

[cws_gpp_albums_gphotos access=own]

Attributes descriptions and examples

hide_albums=’Auto Backup,name of album here’

For example
[cws_gpp_albums_gphotos access=own theme=’grid’ results_page=’results-list’ show_title=1 show_details=1 thumb_size=’50’ num_results=’9′]



For example
[cws_gpp_images_in_album_gphotos theme=’grid’ album_title=1 show_title=1 show_details=1 crop=1]


  • Google Picasa Viewer – Ian Kennerley,
  • Google PHP Client Library (
  • Slick Carouel (
  • Slick Carousel Lightbox (
  • Lightbox2 (
  • Masonry (
  • Cache –
  • Justified Image Grid – Miro Mannino
  • Photoswipe – Dmitry Semenov


  • Een voorbeeld van de Google Photos Album raster weergave.
  • Een voorbeeld van Google Photos Album List View.
  • This is the default settings page.
  • Dit is een voorbeeld van de Albums shortcode [cws_gpp_albums_gphotos access=own]
  • This is an example of the lightbox displaying photo you clicked on.


  1. Unzip into your /wp-content/plugins/ directory
  2. Activeer de plugin via het ‘Plugins’ menu in WordPress
  3. Make your settings, Admin->Settings->Google Picasa
  4. Gebruik de ‘Display Album’ shortcode [cws_gpp_albums_gphotos access = own] op een pagina naar keuze.
  5. To display the album’s images place the shortcode, [cws_gpp_images_in_album_gphotos] on a page
  6. Update the shortcode used in step 4 to include the result_page option. [cws_gpp_albums_gphotos access=own results_page=’page-slug-here’]


What if I don’t want to display private (unlisted) albums?

Simple select “Public” option from the ‘Show which albums’ dropdown menu.

Does this work with Google Photos?

Yes this plugin works with images and albums stored and created in Google Photos too.

Can Users Download the Original Image File

Yes this is an option on the Pro version

The Cache Doesn’t Seem to be Working

Log in to you web host and check the cache/ folder is writable by the web server.


19 november 2020
support does not exist, I sent two emails address, in which I specified that I have problems configuring the plugin, they did not reply, not even to tell me that they could not help me
Lees alle 40 beoordelingen

Bijdragers & ontwikkelaars

“Google Photos Gallery met shortcodes” is open source software. De volgende personen hebben bijgedragen aan deze plugin.




  • Fixed bug where Google API returns images if album id not specified


  • Fixed image light box bug, dimensions was not honouring Lightbox image size in settings


  • Updated incorrect shortcode examples
  • Fixed warnings in logs
  • Fixed bug where number larger than 50 return no results
  • Fixed ‘Next’ button css in Album ID Finder page
  • Trim client id / client secret of space characters
  • Improved Album ID finder, defaults to own


  • Removed Picasa Shortcodes
  • Added API client id and client secret to fix Error 429
  • Fixed Download Original Link
  • Fixed fx=style* option from effecting ‘click’ in some browsers
  • Added default setting for Lighbox size
  • Various other fixes and improvements
  • Point old shortcodes to new Google Photos API functionality, so old shortcodes should still work
  • yada yada yada


  • Fix broken link on album thumbnail in list view


  • Fix remaining WP 5 related ‘update failed’ when update post / page


  • Fix WP 5 related ‘update failed’ when update post / page


  • Fix layout bugs
  • Fix num_results limit for new shortcode [cws_gpp_images_by_albumid_gp]


  • Add configurable extension to allow access to Picasa API, available until 15 March 2019.


  • Added three new shortcodes to consume Google Photos API feed
  • [cws_gpp_albums_gphotos] to list Albums from Google Photos API, use option access=own or access=shared, to specify albums returned
  • [cws_gpp_images_in_album_gphotos] to list images in selected album
  • [cws_gpp_images_by_albumid_gp id=’6625618881344302193′] to display images withing a specified album


  • Allow multiple album reults in same page


  • Various improvements
  • Remove columnWidth from Masonry init to allow for centre positioning
  • Remove CSS opacity 0.8 on Album Thumbs
  • Remove 1px border bottom on projig view (Pro)
  • Fix Sidebar positioning bug that casued sidebar to appear below content


Changed lightbox image width to be 800px, thanks to @rhormazar for the feedback


Fixed bug where options saved are lost if plugin is deactivated then reactivated
Added urleencode / stripslashes to Album Title
Improve Widget Display
Add Title and Caption options to lightbox


Fixed bug conflict with other plugins using Google Library
Fixed bug with Album Title disppearing if pagination was clicked
Fixed album thumbnail size bug not repsecting value in plugin settings page
Added option to show/hide pagination in Widget
Various other little bits and bobs


Added ‘Getting Started’ sub menu page to admin
Fixed call for style_fx to be Pro only


Fixed bug where if no theme option was provided in certain shortcodes in could result in feed error notice
Added ‘theme=grid’ option to shortcode examples in Pro page


Fixed pagination bug on home page


Fixed grid link bug with permalinks disabled
Fixed download original link bug where image could open in lightbox


Fixed grid results layout bug


Various layout improvements
Carousel options added, arrows, infinite, slidestoshow, slidestoscroll, autoplay, autoplayinterval, speed, dots
Image thumbnail settings bug fixed
Album thumbnail settings bug fixed
Various other little bits


Added speed variable to init_slick.js
Added empty array check for cache files


Readme.txt updates and description


Fixed: Warning: Missing argument notice when using theme pro_pbs (PRO ONLY)
Added isFitWidth to Masonry init to allow for centering of grid via CSS


Added Show Albums [Public, Private, All, Visible] (PRO ONLY)


Added Justified Image Grid option (PRO ONLY)


Fixed bug effecting the sidebar appearance


Tidy up of error warning notices
Tested with WordPress 4.6.1


Many small bugfixes.
Rewrote XML from Google Feed
Added 50% Off code
Added Top level menu to admin


Bug fix: Carousel


Bux fix: Album Images


Paginaton added to Show Albums Widget
Added default settings when first installed
Bug fix – pagination under certain circumstance
Among other things


Changes Title and description.


Added screenshots


Complete rewrite. Brought about by Google turning off OAuth1
Now supports OAuth2
All shortcodes have changed


Fixed: Lost settings when updated Settings -> Reading