This should probably go into the the image delete method - there'd never be a reason to delete from the db but not the files.