Skip to main content

Debugging why an image or video doesn't load in your application or site

Comments

4 comments

  • Isai Morales Ceja

    Hi Cloudinary team! one question! 

    Im trying to share a Cloudinary URL of one of my images on Twitter but when I post it there is no visualization of the image in the body of the tweet, only the URL. Is there a way to achieve the preview or visualization of the image setting the meta data? 

    thanks for the reply!

    0
  • Tia Esguerra

    Hi there, 

    This is actually not controlled by Cloudinary You can do this with the meta tags of the HTML. 

    I hope this helps. If you have any questions at all, do not hesitate to ask.

    Kind Regards, 

    Tia

    1
  • Isai Morales Ceja

    Hi Tia! 

    Thanks for the reply! Yes, you are right! Its posible to get the visualization of images setting the right properties with the <meta> tags in a HTML file but in this case the image is hosted at Cloudinary. 
    In summary, I have a twitter share button in one of my websites, when you click it internally one script is taking a screenshot of the website, sending the screenshot to cloudinary via Cloudinary API and at the same time opening a tab on twitter with a text and the secure_url of the image hosting in Cloudinaty at the tweet body. 
    What im trying to achieve? 
    the same behavior but I want the secure_url at the tweet body have the correct meta data to get a pre-visualization or visualization of the image when I click "Post" on Twitter. 

    Hoping to be clear with my explination.

    Thanks anyways for your reply! 

    0
  • Tia Esguerra

    Hi there,

    Thanks for the additional information. So as I'm understanding it - you want to paste a Cloudinary asset URL into a tweet and have Twitter pick up a description.
    That will not be possible (from Twitter's side, that’s not how previews work).

    You could share the URL of a webpage, maybe even a simple one, where the Cloudinary image URL is listed in the metadata of that page, as well as the title and description you want Twitter to use. 

    Let me know if this helps or if I'm still not properly understanding your question.

    Kind Regards, 

    Tia

    1

Please sign in to leave a comment.