add attachment to images and remove duplicate photo_file_name
add allow_destroy: true to product model
add back photo to accepted nested attributes