Fixed bug in image tag

Fixed bug in image tag