Skip to content

Media: Add an API to discard a thumbnail

Since the application can provide the media library with a thumbnail for a specific media, it also needs a way to remove that thumbnail from the media.

The application has ownership of the thumbnail it feeds the medialib, so we don't want to blindly remove those files when it could be appropriate.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information