[WordPress] 外掛分享: Embed Google Photos album

WordPress 外掛 Embed Google Photos album 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Embed Google Photos album」是 2018-03-09 上架。
  • 目前有 4000 個安裝啟用數。
  • 上一次更新是 2024-03-19,距離現在已有 411 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.3 以上。
  • 有 15 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

pavex |

外掛標籤

Embed gallery | Google Photos | carousel slideshow | WordPress carousel | Embed Google Photos |

內容簡介

這個外掛需要使用共享的 Google Photos 相簿連結才能使用相簿或輪播功能查看相片。這個小工具是免費提供給 WordPress 使用者使用的。

使用方法相當簡單,只需在您的文章中編寫短代碼並將共享的 Google Photos 相簿連結作為參數包含在內。插入的將不是短代碼,而是具有連結到相片並使用公共相簿 JavaScript 裝飾的 HTML 代碼。

範例

[embed-google-photos-album link="https://photos.app.goo.gl/CSV7NDstShTUwUZq5"]

[embed-google-photos-album link="https://photos.app.goo.gl/CSV7NDstShTUwUZq5" mode="carousel"]

[embed-google-photos-album link="https://photos.app.goo.gl/CSV7NDstShTUwUZq5" mediaitems-cover="true"]

[embed-google-photos-album link="https://photos.app.goo.gl/CSV7NDstShTUwUZq5" background-color="#007acc"]

link – [string] Google Photos 的公開連結
mode – [carousel | gallery-player] 裝飾模式,預設 ID 為 gallery-player
width – [int | ‘auto’] 小工具寬度,像素或“auto”以拉伸到100%
height – [int | ‘auto’] 小工具高度,像素或“auto”以拉伸到100%
image-width – [int] 圖像最大寬度,像素,默認為1920
image-height – [int] 圖像最大高度,像素,默認為1080
autoplay – [true | false] 開始簡報(當前裝飾程序不允許)
delay – [true | false] 簡報延遲秒數,預設為5秒
repeat – [true | false] 啟用或禁用重複簡報,默認是true
mediaitems-aspectration – [true | false],保持圖像比例,預設為true
mediaitems-enlarge – [true | false],打開/關閉圖像放大,預設為true
mediaitems-stretch – [true | false],打開/關閉圖像拉伸,預設為true
mediaitems-cover – [true | false],將圖像完整覆蓋,結合比例參數。默認是false
background-color – [#RRGGBB | transparent],設置背景顏色為 RGB 或透明。默認是 #000000
expiration – [int] 設置過期超時(以秒為單位); 默認為0;最小自訂值為86400秒(實驗性屬性)

這個小工具並不支援某些功能,例如圖片的時間戳和說明。有關該元件的更詳細說明,請參閱WordPress Google Photos 相簿外掛。

在某些情況下,直接在模板中使用以下代碼可能更好。

echo (new Pavex_embed_google_photos_album())->getcode(
'https://photos.app.goo.gl/CSV7NDstShTUwUZq5', 0, 480, 1920, 1080
);
?>

如何更新我的相簿?

只要您保存或更新文章,相簿就會自動更新。

Javascript 裝飾程序

外部 JavaScript 裝飾程序存儲在 CDN 上,並且其載入和執行已經過優化以提高性能。

JavaScript 小工具可以在不從 Google 相簿中使用照片的情況下使用。有關如何使用 JavaScript 的詳細信息,請參閱博客文章中有關輪播廊簾小工具的更新的其中一個較早的文章。

關於 Public Album 相片共享網站

Public Album 是相片共享網站。

原文外掛簡介

This plugin requires a shared Google Photos album link to view photos using gallery/player or carousel. This widget is free to use for WordPress users.
It is very easy to use. Just write a shortcode to your post and include a link of shared Google Photos album as a parameter. Instead of shortcode, html code with links to the photo will be inserted and it will be decorated using Public album javascript.
Example
[embed-google-photos-album link="https://photos.app.goo.gl/CSV7NDstShTUwUZq5"]

[embed-google-photos-album link="https://photos.app.goo.gl/CSV7NDstShTUwUZq5" mode="carousel"]

[embed-google-photos-album link="https://photos.app.goo.gl/CSV7NDstShTUwUZq5" mediaitems-cover="true"]

[embed-google-photos-album link="https://photos.app.goo.gl/CSV7NDstShTUwUZq5" background-color="#007acc"]

link – [string] public link of Google Photos album
mode – [carousel | gallery-player] setup decorator mode, default id gallery-player
width – [int | ‘auto’] set widget width in pixel or “auto” to stretch to 100%
height – [int | ‘auto’] set widget height in pixels or “auto” to stretch to 100%
image-width – [int] image max-width in pixels, default is 1920
image-height – [int] image max-height in pixels, default is 1080
autoplay – [true | false] start slideshow in normal view (currently not allowed by decorator)
delay – [true | false] slideshow delay in seconds, default is 5 seconds.
repeat – [true | false] Enable or disable repeat slideshow, delfault is true
mediaitems-aspectration – [true | false], Keep asspect ration of images delfault is true
mediaitems-enlarge – [true | false], Turn on/off image enlarge, delfault is true
mediaitems-stretch – [true | false], Tunr on/off image stretch, delfault is true
mediaitems-cover – [true | false], Cover full canvas. Combine with aspect ratio parameter. Delfault is false
background-color – [#RRGGBB | transparent], Setup background color to RGB or transparent. Default is #000000
expiration – [int] setup expiration timeout in secons; default is 0; min. custom value is 86400s (experimental property)

This widget, unsupported some features like a picture’s timestamp and captions. For a more detailed description of the component, go to WordPress Google Photos album plugin.
In some cases, it may be better to use the following code directly in the template.
getcode(
'https://photos.app.goo.gl/CSV7NDstShTUwUZq5', 0, 480, 1920, 1080
);
?>

How do I update my album?
The album will update automatically as soon as you save or update your post.
Javascript decorator
External javascript decorator is stored on CDN and loading and running of them is optimized for performance.
Javascript widget can be used without photos from Google photos. Detailed information on how to use javascript is available in one of older posts about carusel slideshow on my blog.
About Public album photo sharing website
Public album is now a photo sharing website and service for sharing short photosets available in single user profile.
The service can also be used as an alternative to public Google Photos. It is very suitable for the blogs focused mainly on photos. For example, a photoblog or a online bookmark manager.
Important links

Public album sharing website https://www.publicalbum.org
Blog https://www.publicalbum.org/blog
Facebook https://www.facebook.com/publicalbumapp
Reabr.com online bookmark manager

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Embed Google Photos album」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • Google Photos embed 》使用本外掛可以輕鬆地嵌入由 Google Photos 分享的影像。, 使用方法, , 前往 Google Photos 網站 (https://photos.google.com/), 挑選想要在博客中嵌入的 Goo...。
  • Simple Google Photos Grid 》Simple Google Photos Grid 是一個簡單且不附帶花哨功能的 WordPress 外掛,讓您可以透過使用小工具或短代碼,在您的網站上顯示 Google Photos 的相簿。這個...。
  • Gallery For Google Photos 》總結:Embed Google Photos 外掛提供了一個無縫解決方案,將精美的 Google Photos 圖庫直接整合到您的 WordPress 網站中。這個外掛具有直觀的界面和強大的功...。
  • Google Photos Picker 》這個外掛可以讓您在 Google Photos 中選擇圖片,並以 img 標籤的形式插入到文字模式的文章編輯器中。此外掛需要您在 Google Developers Console 創建專案以獲...。
  • HxLoadPlayer 》HxLoadplayer 是一款外掛程式,可從 Google Drive、Google 照片、mp4upload、fembed、clipwatching、vidoza、gounlimited 取得 hxload 播放器的直接連結。, ...。
  • Grisha's GPlus Gallery Shortcode 》這個外掛提供一個短碼,讓你可以在你的網站上以相片集方式展示公開的 Google 相簿。。

文章
Filter
Mastodon