[WordPress] 外掛分享: Google Photos embed

首頁外掛目錄 › Google Photos embed
700+
安裝啟用
★★★☆☆
3.7/5 分(9 則評價)
3114 天前
最後更新
問題解決
WordPress 4.6+ v1.0.1 上架:2015-11-05

內容簡介

使用本外掛可以輕鬆地嵌入由 Google Photos 分享的影像。

使用方法

前往 Google Photos 網站 (https://photos.google.com/)
挑選想要在博客中嵌入的 Google Photos 影像。
點選分享按鈕,獲取分享連結。
將分享連結 (https://photos.app.goo.gl/xxxxxxx) 複製並貼到博客內容中。

注意事項

若要使用 AMP 的話,必須使用 Automattic AMP 外掛或使用具備 pre_amp_render_post 勾子的佈景主題模板。
影像 URL 是透過 OGP 影像非正式途徑取得。假如分享 Google Photos 的規格有所改變,有時候可能無法使用。

自訂

外掛會將 OGP 資料作為標題顯示。
可透過參數指定影像大小、對齊方式、標題等等。

一般參數

width : 像素數 (width=”400″)
height : 像素數 (height=”400″)
align : alignnone / aliginleft / aligncenter / alignright (align=”aligncenter”)
caption : 標題文字。若要不顯示,請設定 caption=”false”。
type : gif(預設 jpg)若可能,則會以 GIF 動畫格式顯示。

例如:https://photos.app.goo.gl/xxxxxxx

特殊參數(picopt)

w : 寬度像素數
h : 高度像素數
s : 長邊像素數
r : 將影像旋轉 90/180/270 度
c : 從影像中央開始裁剪
p : 從影像中的人物或其他物件中央開始裁剪
no : 或許可以。若可能,視訊會轉換為 GIF 動畫。

例如:https://photos.app.goo.gl/xxxxxxx

※ picopt 參數是非正式的。(從 picasa 影像自訂選項估計而來)

日語說明

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Google Photos embed」→ 直接安裝(推薦)

原文外掛簡介

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. https://photos.app.goo.gl/xxxxxxx
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. https://photos.app.goo.gl/xxxxxxx
※ Parameters of picopt is unofficial. (estimated from picasa image customization options)
日本語の説明

延伸相關外掛

文章
Filter
Apply Filters
Mastodon