feat: Ability to remove images that I know are being replaced #736
Labels
✨ enhancement
suggestion or feature request to improve uploadthing
workaround available
solution exists for the issue using existing functionality, although it may not be optimized for DX
Describe the feature you'd like to request
If I am uploading an image to replace a previously uploaded image, I'd like to pass in the previous image URL so that this can be deleted since I know it will be replaced by the new image being uploaded. This would ensure my file store usage remains low.
Describe the solution you'd like to see
On uploading a new image, I'd like to set a property of the image URL to delete when this image is successfully uploaded.
Additional information
No response
👨👧👦 Contributing
The text was updated successfully, but these errors were encountered: