In the update page everything works fine. I can upload another image and I can delete the old image file after the upload is succesfull. But when I delete a record in the results page, after clicking the delete button, I try to delete the associated image file after deleting the record from database. This doesn't seem to work. Can someone explain to me how I can manage that?