Title: Google Photos embed
Author: enomoto celtislab
Published: <strong>6. november, 2015</strong>
Last modified: 8. september, 2017

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/google-photos-embed/assets/icon-256x256.png?rev=1280822)

# Google Photos embed

 Af [enomoto celtislab](https://profiles.wordpress.org/enomoto-celtislab/)

[Download](https://downloads.wordpress.org/plugin/google-photos-embed.zip)

 * [Detaljer](https://da.wordpress.org/plugins/google-photos-embed/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/google-photos-embed/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/google-photos-embed/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/google-photos-embed/#developers)

 [Support](https://wordpress.org/support/plugin/google-photos-embed/)

## Beskrivelse

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

#### Brug/Shortcode

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

#### Meddelelse

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

#### Tilpas

 * 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)_

[日本語の説明](http://celtislab.net/wp_plugin_google_photos_embed/)

## Skærmbilleder

[⌊Get Google Photos share url. Copy & Paste embed.⌉⌊Get Google Photos share url.
Copy & Paste embed.⌉[

Get Google Photos share url. Copy & Paste embed.

## Installation

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

## FAQ

  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

## Anmeldelser

![](https://secure.gravatar.com/avatar/54d4b5c5a7a590dc53a7dd2d9dbd3ad4f8bbc2e65ac52114406eb0d9ab0f32b6?
s=60&d=retro&r=g)

### 󠀁[Too complex](https://wordpress.org/support/topic/too-complex-4/)󠁿

 [zeezuiper](https://profiles.wordpress.org/zeezuiper/) 1. august, 2020

No Gutenberg block for it so you can just insert the URL.

![](https://secure.gravatar.com/avatar/38d83334f6142c136d95dd3f33e8dc9b29629ca9a82d369835550eb91abc4fac?
s=60&d=retro&r=g)

### 󠀁[What’s the point?](https://wordpress.org/support/topic/whats-the-point-10/)󠁿

 [sseale66](https://profiles.wordpress.org/sseale66/) 10. maj, 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.

![](https://secure.gravatar.com/avatar/4a95f74ce8dfe87e3f9c6d4a12ed98dd176f8e3bbe376e911c872b59f0f505c5?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-4893/)󠁿

 [guyaftab](https://profiles.wordpress.org/guyaftab/) 14. april, 2018

I really like this plugin. Thanks Developer!

![](https://secure.gravatar.com/avatar/9f4e233625366e8959078ef94d10e56e961b78059df117834b9bc896461040d7?
s=60&d=retro&r=g)

### 󠀁[Just fine !](https://wordpress.org/support/topic/just-fine-11/)󠁿

 [tdlmidipy](https://profiles.wordpress.org/tdlmidipy/) 20. maj, 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

![](https://secure.gravatar.com/avatar/8283cf3e19a0f715c714098e81b5bf797c79b78bae666da7534ee5b8515e267c?
s=60&d=retro&r=g)

### 󠀁[Copy share link – paste – album](https://wordpress.org/support/topic/copy-share-link-paste-album/)󠁿

 [Seth Carstens](https://profiles.wordpress.org/sethcarstens/) 31. marts, 2017

Exactly what I expected, ads embed for google photos. Doesn't work in multisite 
well yet but hoping for an update!

![](https://secure.gravatar.com/avatar/20a88afe0bbc88897c66f4010e10e7d0905c2eb9138e47c7307fff8f594262d2?
s=60&d=retro&r=g)

### 󠀁[Works fine](https://wordpress.org/support/topic/works-fine-650/)󠁿

 [jeanrca](https://profiles.wordpress.org/jeanrca/) 30. januar, 2017

Easy. It works from the first try. Simple, it does what it says.

 [ Læs alle 9 anmeldelser ](https://wordpress.org/support/plugin/google-photos-embed/reviews/)

## Bidragsydere & udviklere

“Google Photos embed” er open source-software. Følgende personer har bidraget til
dette plugin.

Bidragsydere

 *   [ enomoto celtislab ](https://profiles.wordpress.org/enomoto-celtislab/)

[Oversæt “Google Photos embed” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/google-photos-embed)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/google-photos-embed/),
tjek [SVN repository](https://plugins.svn.wordpress.org/google-photos-embed/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/google-photos-embed/)
via [RSS](https://plugins.trac.wordpress.org/log/google-photos-embed/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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

## Meta

 *  Version **1.0.1**
 *  Senest opdateret **9 år siden**
 *  Aktive installationer **600+**
 *  WordPress-version ** 4.6 eller højere **
 *  Testet op til **4.8.33**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/google-photos-embed/)
 * Tags
 * [amp](https://da.wordpress.org/plugins/tags/amp/)[embed](https://da.wordpress.org/plugins/tags/embed/)
   [Google Photos](https://da.wordpress.org/plugins/tags/google-photos/)[image](https://da.wordpress.org/plugins/tags/image/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/google-photos-embed/advanced/)

## Bedømmelser

 3.7 ud af 5 stjerner.

 *  [  6 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/google-photos-embed/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/google-photos-embed/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/google-photos-embed/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/google-photos-embed/reviews/?filter=2)
 *  [  3 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/google-photos-embed/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/google-photos-embed/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/google-photos-embed/reviews/)

## Bidragsydere

 *   [ enomoto celtislab ](https://profiles.wordpress.org/enomoto-celtislab/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/google-photos-embed/)