the onclick code needs to send information to popualte all of the hidden elements,
you have 3 different deletes and 3 different hidden elements for the image name, but the onclick code is only sending a value to one, it needs to send a value to all 3.