How to use multiple Cloud image name using next-cloudnary package. #215
Replies: 2 comments 4 replies
-
@colbyfayock please help with the issue, how can I resolve it. |
Beta Was this translation helpful? Give feedback.
-
hey @kashyapshiv to be clear - did you upgrade the free account to paid or did you create a new account, separate from your original free account? images wouldn't automatically transfer over to a new account, you would need to upload the images from your original account to your new account if thats the case, is there a reason you didnt upgrade the original free account? using the if you'd like to have an app that uses multiple clouds in one app, you can configure individual components with the cloud name:
This could be a little tedious to do on every component so you could wrap that with a separate component to use interchangeably throughout the app |
Beta Was this translation helpful? Give feedback.
-
Issue Statement:
I was using free plan of cloudnary and I had different cloud name and generating image with them. Now I have bought basic plan and got my own cloud name.
The issue is when I am setting new cloud name in my .env file, old images generated with older cloud name are not rendering and same if I keep old one, new images generating won't be rendered.
Configuration :
Technology/Framework : NextJS (13.3.4)
Cloudnary package: next-cloudinary (4.4.0)
Using CldImage component.
import { CldImage } from 'next-cloudinary';
`<CldImage
src={searchPromptOptions?.image}
alt="uploaded image"
width={400}
height={400}
Beta Was this translation helpful? Give feedback.
All reactions