@cloudimage-strapi/content-plugin

1.0.4 • Public • Published

Cloudimage plugin from Scaleflex for Strapi v4

Install

npm install @cloudimage-strapi/content-plugin

Config

config/server.js

Append url: 'domain (including the http/https:// part)'

Eg: if you website is called mywebsite.com, then write like this:

module.exports = ({ env }) => ({
  host: env('HOST', '0.0.0.0'),
  port: env.int('PORT', 1337),
  app: {
    keys: env.array('APP_KEYS'),
  },
  url: 'https://www.mywebsite.com',
});

It’s very important that you don’t forget to do this

Configure

  • You can enter either token or domain.
  • Whether your Cloudimage token is v7 or not, it will be auto-detected and set.

If you enter nothing or an invalid token, you will get this error.

In the rare case that we can’t auto-detect whether token is v7 or not, you will get the option to manually set it.

What the plugin brings

  1. This plugin simply gives client an interface to save the configuration settings.
  2. It also allows clients to Optimize (resize and accelerate) all previous images:

  • It will NOT Optimize (resize and accelerate) images that are already hosted on Filerobot
  • It will only sync images, no other media like video or audio.

Package Sidebar

Install

npm i @cloudimage-strapi/content-plugin

Weekly Downloads

2

Version

1.0.4

License

MIT

Unpacked Size

26.4 kB

Total Files

28

Last publish

Collaborators

  • vuongscaleflex
  • vitaly.shaposhnik