Google Photos embed
Google Photos embed
Description
You can easily embed the image use a shared URL of Google Photos.
Usage
- Open the google photo site (https://photos.google.com/)
- Choose an embedded image you want to blog in Google Photos.
- Click the Share button, you get a shareable link.
- Copy the shared link (https://photos.app.goo.gl/xxxxxxx) and paste it into the blog content.
Notice
- AMP support must be using Automattic AMP plugin or theme template with pre_amp_render_post action hook.
- Image URL is the unofficial way to get from OGP image. If the specification to share Google photo has been changed, there are times when it can not be used.
Customize
- It is displaying the OGP data as a caption.
- The size of the image, alignment, captions, etc. specified in the parameter.
General Parameter
- width : pixsels (width=”400″)
- height : pixsels (height=”400″)
- align : alignnone / aliginleft / aligncenter / alignright (align=”aligncenter”)
- caption : caption text. If the non-display caption=”false” set.
- type : gif (default jpg) If possible, displayed in a GIF animation format.
e.g.
Special Parameter (picopt)
- w : width pixsels
- h : height pixsels
- s : long side pixsels
- r : rotete image 90/180/270
- c : Trimming from the center of the image
- p : Trimming centered on the person or the like in the image
- no : Meybe. If possible, video->GIF animation conversion
e.g.
※ Parameters of picopt is unofficial. (estimated from picasa image customization options)
Installation
- Upload the
google-photos-embedfolder to the/wp-content/plugins/directory. - Activate the plugin through the
Pluginsmenu in WordPress
Faq
Installation Instructions
- Upload the
google-photos-embedfolder to the/wp-content/plugins/directory. - Activate the plugin through the
Pluginsmenu in WordPress
Reviews
Too complex
By zeezuiper on August 1, 2020
What's the point?
By sseale66 on May 10, 2018
Works great!
By guyaftab on April 14, 2018
Just fine !
By tdlmidipy on May 20, 2017
Copy share link - paste - album
By Seth Carstens (sethcarstens) on March 31, 2017
Works fine
By jeanrca on January 30, 2017
Simple and effective
By M66B on November 12, 2016
Poor Documentation, No Demo Available
By hddimensions on September 3, 2016
The author's description of the plugin leaves me wondering exactly what it is supposed to do. From what I gather by the title of the plugin an image from Google Photos is supposed to embed and display inside a post. However, after installing the plugin and testing using his basic examples, the image from Google Photos does not display in the post. It does display the link to the image, but that's not what I was looking for. If there's something I'm missing the documentation, or lack of it, doesn't help.
Here's the short code I used:
Just what I was looking for
By Brandon Moeller (brandonmoeller) on September 3, 2016
Since Google dropped its Picasa Web Albums, I've been wondering if someone was developing a plugin for Google Photos - its replacement that does both more and less than Google Picasa Web Albums did. I'll start using this and will report back how it goes. Thanks!
Changelog
1.0.1
- 2017-9-8
- fix: When allow_url_fopen is off, since getimagesize becomes Warning, rewrite to code that does not use getimagesize.
1.0.0
- 2017-9-7
- Add AMP support
0.9.3
- 2017-7-26
- fix Support Forum : Use strpos instead of preg_match? https://wordpress.org/support/topic/use-strpos-instead-of-preg_match/
0.9.2
- 2017-7-18
- change google photos shared short url https://goo.gl/photos/xxxxxxx -> https://photos.app.goo.gl/xxxxxxx
0.9.1
- 2015-12-24
- Add a link to the Google photos page in the image.
- If possible, add the option type = “gif” to embed the video in GIF animation format.
0.9.0
- 2015-11-06 Release
