In today's article, I will show you how to simply change the default upload provider of your Strapi application to Cloudinary. It is really easy and very straightforward. I will be showing you how to connect your Strapi application to use Cloudinary as a storage place for assets(photos and videos)
Thanks for the write up. I noticed a slight typo, the yarn add should be yarn add @strapi/provider-upload-cloudinary, not @strapi-provider-upload-cloudinary.
Hi! Nice tutorial!
I have a question. Were you able to post a video to the media library and receive a preview?
I posted this thread days ago and I’m still looking for a solution. I think there must be a bug in strapi that hasn’t been fixed.
Context: I’m trying to migrate to a new file upload provider (default to Cloudinary). Question: Is there a best practice for migrating files that have already been uploaded to the original provider?
Hello Strapi Team how do i specify a folder in the Upload actionOptions as of the documentation
have tried
upload:{
config:{
actionOptions:{
upload:{
folder:“myfolder”
}
}
}
}
I’ve tried it also but with no luck. I thought that the only requirement is that the folder must already exist in Cloudinary before one save media in Strapi.
In Section 6: Adding Front End, after Line 12 to 17, you mentioned on two different occasions to add a file in the root of the front-end named ./utils/apollo.js and each time the code inside is different. Please elaborate.
Worth pointing out that the front end image output uses the NextJS image handler, that references a Cloudinary URL as a URL parameter. That Cloudinary URL is missing optimization parameters though, so be sure to add f_auto,q_auto, and any other optimization parameters that you need to the URL.