Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

strapi-provider-upload-imagekit

0.2.0 • Public • Published

strapi-provider-upload-imagekit

version v0.2.0 Strapi v3.0.1

ImageKit provider for strapi upload

  • Current version: 0.2.0
  • Compatible with Strapi version: 3.0.1

Installation

1. Install via npm or yarn

npm install strapi-provider-upload-imagekit --save

or

yarn add strapi-provider-upload-imagekit

2. Add or modify the plugins configuration file

Global configuration file is located in ./config/plugins.js

Environment configuration files are located in ./config/env/{env}/plugins.js

3. Add your configuration

Example code:

module.exports = ({ env }) => ({
  upload: {
    provider: "imagekit",
    providerOptions: {
      publicKey: "publicKey", // put your publicKey here
      privateKey: "privateKey", // put your privateKey here
      urlEndpoint: "urlEndPoint", // put your urlEndpoint
      params: { // optional section
        folder: "/production/images" // folder location in imagekit.  Defaults to "/" if value is not supplied
      }
    }
  }
});

For a more detailed and updated documentation on upload providers, please visit the official documentation.

Resources

Links

Imagekit links

Install

npm i strapi-provider-upload-imagekit

DownloadsWeekly Downloads

83

Version

0.2.0

License

MIT

Unpacked Size

6.51 kB

Total Files

5

Last publish

Collaborators

  • avatar