npm install @cloudimage-strapi/content-plugin
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
- 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.
- This plugin simply gives client an interface to save the configuration settings.
- 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.