Clear image field when the file is deleted.

#1426