adding span to image