The delete page will pass the record to be deleted to the delete record server behavior using a form element.
you would need to create a lookup recordset to filter the table based on the ID passed by this form element to return the file name for the image to be deleted.
In the delete file server behavior, you can use the recordset to reference the file name to be deleted.