Description
Album Importer for Google Photos lets you easily import images from a public Google Photos album into your WordPress site and display them as a gallery. Add the block to any post or page, paste a Google Photos album URL, and start the import. From there, the images are added to your site’s Media Library and displayed automatically.
Basic Usage
- Create or edit a post/page where you want the gallery.
- Add the “Album Importer for Google Photos” block.
- From Google Photos, share your album and copy the public link URL. The format of a public Google Photos album URL will be similar to:
https://photos.app.goo.gl/XXXXXXXXXXXXXXXXX. - Paste the public link URL into the block.
- Click Start Import.
- The gallery is created automatically once complete.
External services
This plugin relies on Google Photos (a third-party service operated by Google LLC) to read and import publicly shared album content. No data is sent to any external service unless an authorized user explicitly provides a Google Photos album URL to the plugin. There are two triggers for requests to Google:
- The “Album Importer for Google Photos” block in the post/page editor: pasting an album URL and clicking “Start Import”.
- The “Import from Google Photos” button that the plugin adds to the media-selection modal of core Image, Gallery, Cover, and Media & Text blocks: pasting an album URL into the modal and clicking “Load album”.
Google Photos
Google Photos is Google’s photo hosting and sharing service. The plugin uses it to fetch the contents of a publicly shared album so the images can be saved into the WordPress Media Library and rendered as a gallery.
What data is sent and when:
- Verify the album (server -> Google). When an authorized editor pastes an album URL and triggers verification (clicking “Start Import” in the block, or “Load album” in the media-library modal), the plugin makes a server-side HTTP GET request to the album URL on
photos.google.comorphotos.app.goo.glto retrieve the album’s public HTML page and parse the list of image URLs. - Render thumbnail previews (browser -> Google). After verification returns the list of images, the plugin renders thumbnails directly in the editor by setting each image URL as the
srcof an<img>tag. This causes the editor user’s browser to make HTTP GET requests tolh3.googleusercontent.comfor each thumbnail. - Filename inference (server -> Google). For each image to be imported, the plugin makes a server-side HTTP HEAD request to
lh3.googleusercontent.comto read theContent-Dispositionheader (the import continues even if this request fails). - Image download (server -> Google). For each image, the plugin issues a server-side HTTP GET request to
lh3.googleusercontent.comto download the image bytes and store them as a WordPress media attachment. - No user credentials, account information, or telemetry are collected or transmitted by the plugin. The only data the plugin sends is the album URL the editor pastes (and the derived image URLs from that album).
Use of Google’s services is subject to Google’s terms:
Source Code
The full, unminified source code for this plugin is publicly available on GitHub.
Blocks
This plugin provides 1 block.
- Album Importer for Google Photos Import your Google Photos album images into your WordPress site and display them in a beautiful gallery.
Installation
From WordPress Admin
- Go to Plugins -> Add New.
- Search for “Album Importer for Google Photos”.
- Click Install Now, then Activate.
Manual Installation
- Download the plugin ZIP.
- Upload the
importer-google-photosfolder to/wp-content/plugins/. - Activate the plugin through the Plugins menu in WordPress.
FAQ
-
What album URLs are supported?
-
Publicly shared Google Photos album links (e.g.,
https://photos.app.goo.gl/...). -
Where are images stored?
-
Imported images are saved in your WordPress Media Library as standard attachments.
-
Do I need a Google API key?
-
No. A publicly shared album link is sufficient for importing.
-
Does it work with the block editor?
-
Yes. The plugin provides a Gutenberg block for inserting and importing the album.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Album Importer for Google Photos” is open source software. The following people have contributed to this plugin.
Contributors“Album Importer for Google Photos” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “Album Importer for Google Photos” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial public release.

