Delete Item Images

Hi all,

Let’s say we have a collection of items. And we have to delete items, often in bulk. What’s the most efficient way to delete all of those items along with their associated images? As of now, deleting an item does not delete the images themselves.

Is there a way to delete images associated with items through the UI? Going to the Assets tab, we don’t see those item images.

Thanks much in advance!

Bump. We’re going to be adding a lot of images over the lifetime of our project through collections, items, and images within the items, both via API and via CMS. What is the best approach to ensuring images are deleted? We don’t see an option in the API docs. Thanks much in advance.

You’ll want to check the current behavior on this with Webflow support. As far as I’m aware, the behavior is-

  • Deleting assets from the CMS does not immediately delete them from the S3 bucket ( or other underlying asset store ), or from the CDN.
  • If there are no references to a file, it will eventually be purged
  • There is no way to manually instigate this purge yourself
  • Webflow support might be able to manually instigate this purge

Thanks much @memetican for the clarification. If unreferenced files are automatically purged, then that should work for us. What’s the approximate timeline for purges (e.g., 1 week, 1 month, something else)? We’ll save Webflow manual assistance if we run across an emergent use case.

Again you’d have to ask support, which is free. Even the support AI might have some info for you.

1 Like

Got it. Thanks again @memetican