Adding a self closing tag to the image