How can I deliver and transform existing web images using Cloudinary?




  • Avatar
    Tim Coulter

    Hi Cloudinary,

    I'm mainly interested in your service for its on-the-fly resizing through the fetch method, but due to the nature of the app I'm creating, for security reasons, I'd be passing many temporary URLs through Cloudinary. I noticed that for each fetch -- even a fetch with the same image but a different query string -- a new image is stored in my Media Library and counted against my total storage count. I want images added to my library through fetch to expire after a certain period of time. Is this possible?



  • Avatar
    Itay Taragano

    Hi Tim,

    Cloudinary currently doesn't support automatic timely purging of fetched resources.

    Until this feature is made available, you can implement timely deletions yourself using Cloudinary's Admin APIs.


  • Avatar
    Jesse Bryant

    5 years on, can someone confirm if this is now possible?



  • Avatar
    Yakir Perlin

    Hi Jesse, 

    For fetched images, we have this TTL options:


    • Once
      • (Default) Re-fetch once.
    • Refresh
      • Checks if the resource changed at the origin if so, the resource is updated on your Cloudinary account.
    • Delete
      • Deletes the resource even if it hasn't been updated at the origin, and is re-fetched when it is requested again.

    The fetch TTL can be changed and is currently at 7 days by default.

    Please let me know if this is something that could be helpful for you?



  • Avatar
    Jesse Bryant

    Very helpful - thank you :)

Please sign in to leave a comment.