Open Source Media Connect

外掛說明

Open Source Media Connect is a powerful and user-friendly WordPress plugin designed to seamlessly integrates with the Openverse API to enable users to search and embed open-source images directly into their posts and pages. The plugin features a straightforward setup process with a single configuration option in Settings Open Source Media for connecting to the Openverse service.

Once configured, users can easily add open-source images using the Open Source Media block. The block offers a comprehensive set of features:

– Keyword-based image search
– Customizable image settings including caption and alt text
– Flexible sizing options with size classes
– Adjustable media width
– Optional media attribution display

External Services

This plugin uses the Openverse API to search open-source media and place it inside your posts or pages as an image block. This service is provided by Openverse.org, which is part of the wider WordPress.org project, giving you a vast catalog of openly licensed images at your fingertips.

The following information is required to interact with the Openverse API:

  • Client ID & Client Secret – Used to request an access token.
  • Token – Necessary for accessing the image_search endpoint.
  • Search query – Required for searching images; can also serve as optional alt text.
  • Site Name – Provided as the value for the name field during API registration.
  • Admin Email Address – Provided as the value for the email field during API registration.
  • Site URL – Combined with the phrase “WordPress integration for” to form the description field during API registration.

This plugin uses the provided information to request your Openverse Client ID and Client Secret. These credentials are then used to obtain an API token, which is valid for up to ten hours and is automatically renewed whenever you perform an image search using the Open Source Media block. Your search query is used to find matching images on Openverse, and the token is required to connect to the Openverse API’s media search endpoint.

This plugin does not track users or collect any personal data beyond the information listed above.

For full details, see Openverse’s terms, privacy, API documentation, about and license:

螢幕擷圖

  • Open Source Media block in the editor
  • Openverse search interface
  • Media settings panel
  • Plugin settings page

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Openverse Search Search and insert media from Openverse

安裝方式

  1. Upload the plugin to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings -> Open Source Media screen to configure the plugin
  4. Use the Open Source Media block to search and embed images

常見問題集

What is Openverse?

Openverse is a search engine for openly-licensed media. It provides access to millions of freely-usable media files.

Do I need an API key?

Yes, you need an API key to use the Openverse API. You can obtain an API key by:

  1. Creating an account at Openverse, generate the API key and add in the plugin’s settings page (Settings Open Source Media)
  2. Or you can simply connect your site to Openverse in single click on Settings Open Source Media

What types of media can I search for?

Currently, the plugin only supports images. More media types will be added in future updates.

Does this plugin track users?

No, this plugin does not track users or collect any personal data beyond the information listed on the EXTERNAL SEVICES section above.

使用者評論

閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Open Source Media Connect〉的開發相關工作。

參與者

將〈Open Source Media Connect〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Initial release