altered behaviour of image delete checkboxes

instead of using name=$image and value=on switched to using name='delete_images' and value=$image. Resulting in an array of images for deletion $_POST['delet_images'] which is better than my old way