Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Replace an image

Go to End


Nathan Cox

Community Member, 99 Posts

15 April 2009 at 4:33pm

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.