Strapi plugin logo for Cloudimage by Scaleflex

Cloudimage by Scaleflex

Strapi v4 upload provider for Cloudimage by Scaleflex

Cloudimage upload provider from Scaleflex for Strapi v4

Install

npm install provider-upload-cloudimage

The Cloudimage Upload Provider should be installed after the Cloudimage Plugin for the Strapi CMS. Otherwise it will just upload images to the local server.

Config

config/plugins.js

1module.exports = {
2  ...
3  'upload': { // Add this section
4    config: {
5      provider: 'provider-upload-cloudimage',
6      providerOptions: {},
7    },
8  },
9};

config/server.js

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

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

1module.exports = ({ env }) => ({
2  host: env('HOST', '0.0.0.0'),
3  port: env.int('PORT', 1337),
4  app: {
5    keys: env.array('APP_KEYS'),
6  },
7  url: 'https://www.mywebsite.com',
8});

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

What this upload-provider brings

Converts the images' URLs to Cloudimage URLs upon every upload (both in admin back-office and API).

So URLs will be converted to {Cloudimage-token}/cloudimg.io/{original-URL}.

Install now

npm install provider-upload-cloudimage

STATS

No GitHub star yet1 weekly download

Last updated

606 days ago

Strapi Version

Unavailable

Author

github profile image for Scaleflex
Scaleflex

Related plugin

Upload

Useful links

Create your own plugin

Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.