I've got a page that has_one image that will need to be updated occasionally. I'm using an ImageField to upload/attach it to the page, but is there a way to get SilverStripe to actually delete the old version of the image when you upload a new one?
I'd prefer to automate this than get the client to go into Files & Images and delete the old one every time.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.