wrap images in a tag