Strapi Plugin Zeasy Image Api screenshot

Strapi Plugin Zeasy Image Api

Author Avatar Theme by Kwinyyyc
Updated: 24 Jan 2021
33 Stars

Strapi plugin to ease the process importing Unsplash image with attribution

Categories

Overview

The Strapi plugin image-api is a plugin for the Strapi headless CMS. It is designed to help users search for images on Unsplash and Giphy, import them to their media library, and insert them into their Rich Text content with appropriate attribution.

Features

  • Search for images on Unsplash and Giphy
  • Import images to the media library
  • Insert images with proper attribution into Rich Text content

Installation

To install the Strapi plugin image-api, follow these steps:

  1. Install the package using yarn:
yarn add strapi-plugin-zeasy-image-api

or using npm:

npm install strapi-plugin-zeasy-image-api
  1. Configure Unsplash:

    • Register an Unsplash account here.
    • Create an app on Unsplash and take note of your app name and Access Key.
  2. Configure Giphy:

    • Register a Giphy account here.
    • Create an API app on Giphy and take note of your API Key.
  3. Generate a config file at config/plugins.js and make sure to include the following variables in your .env file:

UNSPLASH_APP_NAME=your_app_name
UNSPLASH_ACCESS_KEY=your_access_key
GIPHY_API_KEY=your_api_key

Summary

The Strapi plugin image-api is a useful tool for users of the Strapi headless CMS who need to search for images on Unsplash and Giphy and easily import them into their media library and Rich Text content. The installation process is straightforward, and the plugin offers convenient features such as attribution handling for the inserted images.