Skip to main content

Overlay an image that's taken from a fetched public URL

Comments

4 comments

  • Jordan

    You went as far as to even provide an example, in addition to the description for step 1, then just kinda threw step 2 out there like we are all experts on Cloudinary

    0
  • Stephen Doyle

    Hi Jordan,

    Thanks for your feedback.

    The example in the first part of this article is intended to help customers who aren't aware of how to create a base64 encoded string from the URL, but you're right that the example in the second part didn't have much context, it was was just showing how that base64 string looks when used with the l_fetch transformation option

    I've updated the article now with links to the main documentation for the fetch image feature, and some corresponding code to create the URL which should help customers who found this article but weren't familiar with the underlying feature before.

    Please let me know if there's anything else I can help with
    Regards,
    Stephen

    0
  • Refo Junior

    I following this document, but I still unable to fetch an external image. 

    For example, I try to change the demo cloud name to my own cloud name

    https://res.cloudinary.com/demo/image/upload/l_fetch:aHR0cDovL3Jlcy5jbG91ZGluYXJ5LmNvbS9zaGlybHkvaW1hZ2UvdXBsb2FkL2Nsb3VkaW5hcnlfaWNvbg==/sample.png

    to 

    https://res.cloudinary.com/di3mmydno/image/upload/l_fetch:aHR0cDovL3Jlcy5jbG91ZGluYXJ5LmNvbS9zaGlybHkvaW1hZ2UvdXBsb2FkL2Nsb3VkaW5hcnlfaWNvbg==/sample.png

    But I get this

    Basically, I just change the cloud name, and I have the sample image on my account. I always unable to fetch the external images, why this happens to my account?

    0
  • Millie Axelrod

    Hi,

    This error can be received if Fetched URL is currently marked as restricted in your account - to enable it head to https://cloudinary.com/console/settings/security and uncheck 'Fetched URL' under 'Restricted media types'.

    Hope this helps, please let us know if you have any further questions.

    Kind Regards,
    Millie

    0

Please sign in to leave a comment.