{"id":39964,"date":"2015-11-06T02:23:08","date_gmt":"2015-11-06T02:23:08","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/google-photos-embed\/"},"modified":"2017-09-08T08:55:23","modified_gmt":"2017-09-08T08:55:23","slug":"google-photos-embed","status":"publish","type":"plugin","link":"https:\/\/mai.wordpress.org\/plugins\/google-photos-embed\/","author":12008141,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"trunk","tested":"4.8.28","requires":"4.6","requires_php":"","requires_plugins":"","header_name":"Google Photos embed","header_author":"enomoto@celtislab","header_description":"","assets_banners_color":"","last_updated":"2017-09-08 08:55:23","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/celtislab.net\/wp_plugin_google_photos_embed\/","header_author_uri":"http:\/\/celtislab.net\/","rating":3.7,"author_block_rating":0,"active_installs":700,"downloads":18976,"num_ratings":9,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":"3","2":0,"3":0,"4":0,"5":"6"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1280822","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1280822","resolution":"256x256","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1726618","resolution":"1","location":"plugin"}},"screenshots":{"1":"Get Google Photos share url. Copy &amp; Paste embed."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1882,230,21826,133],"plugin_category":[50,56],"plugin_contributors":[83608],"plugin_business_model":[],"class_list":["post-39964","plugin","type-plugin","status-publish","hentry","plugin_tags-amp","plugin_tags-embed","plugin_tags-google-photos","plugin_tags-image","plugin_category-media","plugin_category-social-and-sharing","plugin_contributors-enomoto-celtislab","plugin_committers-enomoto-celtislab"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/google-photos-embed\/assets\/icon-128x128.png?rev=1280822","icon_2x":"https:\/\/ps.w.org\/google-photos-embed\/assets\/icon-256x256.png?rev=1280822","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/google-photos-embed\/trunk\/screenshot-1.png?rev=1726618","caption":"Get Google Photos share url. Copy &amp; Paste embed."}],"raw_content":"<!--section=description-->\n<p>You can easily embed the image use a shared URL of Google Photos.<\/p>\n\n<h4>Usage<\/h4>\n\n<ul>\n<li>Open the google photo site (https:\/\/photos.google.com\/)<\/li>\n<li>Choose an embedded image you want to blog in Google Photos.<\/li>\n<li>Click the Share button, you get a shareable link.<\/li>\n<li>Copy the shared link (https:\/\/photos.app.goo.gl\/xxxxxxx) and paste it into the blog content. <\/li>\n<\/ul>\n\n<h4>Notice<\/h4>\n\n<ul>\n<li>AMP support must be using Automattic AMP plugin or theme template with pre_amp_render_post action hook. <\/li>\n<li>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.<\/li>\n<\/ul>\n\n<h4>Customize<\/h4>\n\n<ul>\n<li>It is displaying the OGP data as a caption.<\/li>\n<li>The size of the image, alignment, captions, etc. specified in the parameter.<\/li>\n<\/ul>\n\n<p>General Parameter<\/p>\n\n<ul>\n<li>width   : pixsels (width=\"400\") <\/li>\n<li>height  : pixsels (height=\"400\")<\/li>\n<li>align   : alignnone \/ aliginleft \/ aligncenter \/ alignright (align=\"aligncenter\")<\/li>\n<li>caption : caption text. If the non-display caption=\"false\" set. <\/li>\n<li>type    : gif (default jpg) If possible, displayed in a GIF animation format.<\/li>\n<\/ul>\n\n<p>e.g. [embed width=\"320\" height=\"150\" align=\"alignright\" type=\"gif\" caption=\"xxxxxxx\"]https:\/\/photos.app.goo.gl\/xxxxxxx[\/embed]<\/p>\n\n<p>Special Parameter (picopt)<\/p>\n\n<ul>\n<li>w  : width pixsels<\/li>\n<li>h  : height pixsels<\/li>\n<li>s  : long side pixsels<\/li>\n<li>r  : rotete image 90\/180\/270<\/li>\n<li>c  : Trimming from the center of the image<\/li>\n<li>p  : Trimming centered on the person or the like in the image<\/li>\n<li>no : Meybe. If possible, video-&gt;GIF animation conversion<\/li>\n<\/ul>\n\n<p>e.g. [embed picopt=\"w320-h150-r90-p\"]https:\/\/photos.app.goo.gl\/xxxxxxx[\/embed]<\/p>\n\n<p><em>\u203b Parameters of picopt is unofficial. (estimated from picasa image customization options)<\/em><\/p>\n\n<p><a href=\"http:\/\/celtislab.net\/wp_plugin_google_photos_embed\/\" title=\"Documentation in Japanese\">\u65e5\u672c\u8a9e\u306e\u8aac\u660e<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>google-photos-embed<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <code>Plugins<\/code> menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>2017-9-8<\/li>\n<li>fix: When allow_url_fopen is off, since getimagesize becomes Warning, rewrite to code that does not use getimagesize.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>2017-9-7<\/li>\n<li>Add AMP support<\/li>\n<\/ul>\n\n<h4>0.9.3<\/h4>\n\n<ul>\n<li>2017-7-26<\/li>\n<li>fix Support Forum : Use strpos instead of preg_match? https:\/\/wordpress.org\/support\/topic\/use-strpos-instead-of-preg_match\/<\/li>\n<\/ul>\n\n<h4>0.9.2<\/h4>\n\n<ul>\n<li>2017-7-18<\/li>\n<li>change google photos shared short url https:\/\/goo.gl\/photos\/xxxxxxx -&gt; https:\/\/photos.app.goo.gl\/xxxxxxx<\/li>\n<\/ul>\n\n<h4>0.9.1<\/h4>\n\n<ul>\n<li>2015-12-24<\/li>\n<li>Add a link to the Google photos page in the image.<\/li>\n<li>If possible, add the option type = \"gif\" to embed the video in GIF animation format.<\/li>\n<\/ul>\n\n<h4>0.9.0<\/h4>\n\n<ul>\n<li>2015-11-06  Release<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the <code>google-photos-embed<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <code>Plugins<\/code> menu in WordPress<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"Using shared short URL of Google Photos, you can embed the image easy to blog.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/39964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=39964"}],"author":[{"embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/enomoto-celtislab"}],"wp:attachment":[{"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=39964"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=39964"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=39964"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=39964"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=39964"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mai.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=39964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}