Finished the img tag function