How to view and delete images using the media plugin

3 replies
Last updated: Sep 14, 2020
Is there a way to see (and delete) all of your images? The only way I know how to see what images I have uploaded is when I go to choose one to assign as a cover image for my blog post
Sep 14, 2020, 12:29 AM
Looks like the media plugin does it
Sep 14, 2020, 12:32 AM
I don’t know if this applies to media but i know with documents you can run a sanity exec on a script which will groc all docs and delete them. If the plugin doesn’t do a delete all this might be a way to do that too
Sep 14, 2020, 1:17 AM
I was actually more looking for something to explore all of my media and delete individual ones if necessary. The media plugin does exactly what I was looking for
Sep 14, 2020, 1:18 AM

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Was this answer helpful?