Skip to main content

not able to show uploaded images on my screen despite images getting uploaded to cloudinary

Comments

3 comments

  • Francis Tagbo

    Hi Mohamed,

    Please note that the public id is the exact path of your asset in your account. In addition, the public ID value for images and videos asset types should not include the file extension. You can learn more about public id in this guide: https://cloudinary.com/documentation/upload_images#public_id

    Regardgin your code, could you please try to change it like:
    <img class="card-img-top" cloudname="dklcmfo0q" publicid="musicimages/lzgodi4uvnoitgwwct3p" alt="Card image cap">

    May I please ask you to try this and let me know how it goes?

    Regards,
    Francis

    0
  • Mohamed Soliman

    appreciate your response, but it's not working for some reason. I am looping through state in that div. I tried changing the image to your code but got the same response. also how to access the library in a dynamic way. in the console all pics have the same publicid

    0
  • Erwin Lukas

    Hi Mohamed,

    The image tag should be <Image> instead of <img>
    Can you give this a try?

    <Image class="card-img-top" cloudname="dklcmfo0q" publicid="musicimages/lzgodi4uvnoitgwwct3p" alt="Card image cap" />

    Thanks,
    Erwin Lukas

    0

Post is closed for comments.