Filerobot Upload provider for Strapi v4
The Filerobot Upload Provider should be installed after the Filerobot Plugin for Strapi. Otherwise media will just get uploaded to the local server.
npm install provider-upload-filerobot
(Use npm install provider-upload-filerobot --legacy-peer-deps
if you need to)
In config/plugins.js
1
2
3
4
5
6
7
8
9
module.exports = {
// ...
'upload': {
config: {
provider: 'provider-upload-filerobot',
providerOptions: {},
},
},
};
yarn build
yarn start
Now when you upload stuff to Strapi's Media Library, the images will end up with a Filerobot URL:
On top of that, if you have a content type which contains a Media field, like for example below:
The media that you'll add/upload into the content-post will also end up with a Filerobot URL:
npm install provider-upload-filerobot
Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.