1.0.4 • Published 3 months ago

@cloudimage-strapi/content-plugin v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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

npm.io

  • 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.

npm.io

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.

npm.io

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:

npm.io

  • 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.