I am trying to hos tmy pictures on cloudinary and then render them on my UI component
I have tried rendering it from the imagage folder in the application
I am trying to hos tmy pictures on cloudinary and then render them on my UI component
I have tried rendering it from the imagage folder in the application
I am trying to hos tmy pictures on cloudinary and then render them on my UI component
I have tried rendering it from the imagage folder in the application
I am trying to hos tmy pictures on cloudinary and then render them on my UI component
I have tried rendering it from the imagage folder in the application
I am trying to hos tmy pictures on cloudinary and then render them on my UI component
ljfnl
2
Answers
You can add the source of the image directly as the cloundinary image link.
Example:
And as a good practice you can add the image url to a constants file rather than directly hard coding it to the image tag.
Since you mentioned UI Component, I believe you maybe talking about Cloudinary’s AdvancedImage react component. Here’s a quick example on how to use it.
In the code example below, pass the image’s
public_id
:Then call the AdvancedImage component like so:
public_id
‘s definition is a unique identifier of the asset, including the folder structure if relevant. If you have saved the image "red_sneaker" in "shoes" folder, and your account type is a fixed-folder account (non-dynamic), then the public_id for this example should beshoes/red_sneaker
. If, however, your account is a dynamic folder, then the public_id isred_sneaker
(omitting the folder prefix).Here’s the reference page: https://cloudinary.com/documentation/video_manipulation_and_delivery#transformation_url_structure