內容簡介
這個外掛可以讓您在 Google Photos 中選擇圖片,並以 img 標籤的形式插入到文字模式的文章編輯器中。此外掛需要您在 Google Developers Console 創建專案以獲取 API 憑證。
以下是創建 API 憑證的步驟。
在 Google Developers Console 中創建專案。
啟用 Google Picker API。
創建 API 金鑰(瀏覽器金鑰)。
創建 OAuth 2.0 用戶端 ID
在 授權 JavaScript 來源 中添加您的博客主機名稱(例如 http://foobar.com)。
在外掛設置菜單中設置瀏覽器金鑰和 OAuth 2.0 用戶端 ID。
您可以在 設置 -> 媒體 中找到外掛設置菜單。
外掛標籤
開發者團隊
原文外掛簡介
This is a plugin that enables you choose images in Google Photos and inserts them in img tags in text mode post editor. This plugin requires you create a project in Google Developers Console to have your own API credentials.
Here are steps to create your own API credentials.
Create a project in Google Developers Console
Enable Google Picker API
Create a API key (Browser key)
Create an OAuth 2.0 client ID
Add your blog hostname (e.g. http://foobar.com) in Authorized JavaScript origins
Set the browser key and OAuth 2.0 client ID in the plugin settings menu.
You can find the plugin settings menu in Settings -> Media
