add a new form to the page to be used for deleting the image.
in the form you nee a hidden element and a submit button.
set the value of the hidden element to use the file name column from the recordset that populates the update page.
add the delete file behavior, and use the hidden element for the file name, set the trigger to the delete file form button being pressed