cloudinary doesn't work with strapi v4
I have strapi v4 and installed the @strapi/provider-upload-cloudinary package, but so far it is still uploading to the localhost/uploads on strapi
here's my config/plugins.js file:
```
-
Hello Ahmed,
Thanks so much for reaching out.
Would you be able to try the code below for me in your plugins.jsGive it a shot and let me know if this works or not.
module.exports = ({ env }) => ({ upload: { config:{ provider: 'cloudinary', providerOptions: { cloud_name: env('CLOUDINARY_NAME'), api_key: env('CLOUDINARY_KEY'), api_secret: env('CLOUDINARY_SECRET'), }, }, }, });
Kind Regards,Tia
0 -
Same issue, no error from package about incorrect setup.
So bad...1 -
Hi,
While the Cloudinary plugin for Strapi integration is currently unavailable, there is some available information that you could refer to link the one on this link. Once you get it working, you can use your Cloudinary account to perform image optimizations and many other features.
0
Post is closed for comments.
Comments
3 comments