Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Google Photos embed

Описание

You can easily embed the image use a shared URL of Google Photos.

Применение

  • 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.

Уведомление

  • 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.

Настройка

  • 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. [embed width=»320″ height=»150″ align=»alignright» type=»gif» caption=»xxxxxxx»]https://photos.app.goo.gl/xxxxxxx[/embed]

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. [embed picopt=»w320-h150-r90-p»]https://photos.app.goo.gl/xxxxxxx[/embed]

※ Parameters of picopt is unofficial. (estimated from picasa image customization options)

日本語の説明

Скриншоты

  • Get Google Photos share url. Copy & Paste embed.

Установка

  1. Upload the google-photos-embed folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress

Часто задаваемые вопросы

Installation Instructions
  1. Upload the google-photos-embed folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress

Отзывы

10.05.2018
I don't understand why anyone needs to use this plugin, that still requires several laborious steps back and forth from your google album, copying and pasting. You can do the exact same thing by copying and pasting it into "add media from URL" without the plugin. Plugins are supposed to be time savers, this one is not.
20.05.2017
Tested with WP 4.7.5 : Works fine ! Suggestions : - Link in the caption : Optional (Caption with link/Caption without link) - link to Google Photo page : Link to the photo / Link to the album of the photo - copy the image into the medias library Thanks ! I made the translation (French) of the plugin available on the WordPress site. Bertrand
30.01.2017
Easy. It works from the first try. Simple, it does what it says.
Посмотреть все 9 отзывов

Участники и разработчики

«Google Photos embed» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Google Photos embed» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

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