该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Easy search and use CC-licensed images for WP

描述

Easy search and use CC-licensed images for WP helps you search millions of free photos using the Openverse API and insert the original image into your content or set as featured image very quickly.
It allows the user to filter the provider source.
The plugin is inspired and based on the [CCSearch] (https://ccsearch.creativecommons.org/) and it wouldnt’t be possible without the Openverse API and until version 2.0 the Creative Commons Catalog API.

After the plugin’s activation, you can see the “Image with CC License” button above the editor and as option into the “Add Media” pop-up window.
By pressing it you can search using Latin characters for an image, browse the returned images, preview an image and its license and adjust the image settings:
– use of thumbnail or original image,
– set the image link (if any).
– Insert the image into the post or as featured image.

Features

  • Works in WordPress editor and add a button above the content text area and into the “Add Media” pop-up window.
  • Via a pop-up window, allows searching through millions of images using Creative Commons Catalog API power.
  • Allows filtering by a provider
  • Paginated results
  • Quick insert original image or thumbnail with an (optional) link to the image URL or the original site
  • Use image as a featured image for the blog post
  • WPML compatible
  • Multisite compatible
  • Translation ready (it’s already translated in Greek)
  • Tested up to WordPress 5.9 with Classic Editor plugin

You can find a blog post in opensource.creativecommons.org about the inspiration and how it works.

NOTE 1: Please, verify the license at the source. Creative Commons does not host the content and does not verify that the content is properly CC-licensed or that the attribution information is accurate or complete.
Please follow the link to the source of the content to independently verify before reuse.

NOTE 2: Currently, the plugin needs Classic Editor in order to work for WP 5+.

Roadmap

  • Multiple images select support
  • Gutenberg compatibility
  • Multiselect options for filtering: providers
  • select options for filtering: licenses, creator
  • Image for the ‘Image with CC license’ editor button
  • Info page

Credits

  • The plugin is inspired and based on the [CC Search] (https://ccsearch.creativecommons.org/) and since version 2.0 wouldnt’t be possible without the [Creative Commons Catalog API] (https://api.creativecommons.engineering/)
  • The plugin since version 3.0 uses the [openverse API] (https://api.openverse.engineering/v1/)
  • The plugin’s code is based on the [WP Pexels] (https://wordpress.org/plugins/wp-pexels/) code by WPclever.net
  • Pointer’s code is based on [https://code.tutsplus.com/articles/integrating-with-wordpress-ui-admin-pointers–wp-26853] (https://code.tutsplus.com/articles/integrating-with-wordpress-ui-admin-pointers–wp-26853)
  • Many thanks to Stavroula Stasinou for the free creation of header image and plugin icon.

屏幕截图

  • The "Image with CC license" button on editor
  • Search for an image
  • Preview of an image and its license.
  • Image settings: use of thumbnail or original image, set the image link (if any). Insert the image into the post or as featured image.
  • The image and it's license into the editor

安装

  1. Unzip the ls-wp-ccsearch.zip
  2. Copy ls-wp-ccsearch folder to wp-content/plugins
  3. Go to Plugins > Installed Plugins, find Easy search and use CC-licensed images for WP and click Active
  4. Now when you create/edit the post, you can see the “Image with CC License” button above the editor and as option into the “Add Media” pop-up window.
  5. Enjoy!

评价

2022 年 7 月 20 日
It would be nice to have options to filter the images by license types. Preferably, I would like to see an option to pic images in public domain (CC0).
阅读所有1条评价

贡献者及开发者

“Easy search and use CC-licensed images for WP” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Easy search and use CC-licensed images for WP」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Easy search and use CC-licensed images for WP”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

3.2

  • Fix bug when image was set as post thumbnail. Props to @gnr5 for spotting the bug
  • Display images sources sorted by name
  • WordPress 6.1 compatibility

3.1

  • Minor changes

3.0

  • Changes to use openverse API urls

2.0

  • Changes at creativecommons API urls
  • Support also non -latin keywords

1.0

  • Replaces curl with WordPress native functionality
  • Fix some typos
  • Sanitize input
  • Renamed from WP CCsearch to Easy search and use CC-licensed images for WP

0.5.0

  • Add class to img
  • Larger colorbox height
  • New strings added
  • New screenshots

0.4.0

  • Add wp-pointer on editor’s button
  • Fix: Wrong textdomain
  • Removed unused code
  • New strings added

0.3.0

  • Add provider dropdown select
  • Fix: Use full image when thumbnail url is broken

0.2.0

  • Fix ls-wp-ccsearch.pot
  • Greek translation added

0.1.0

  • Released