make image and vid tags protocol neutral