updated the image tag to work for multiple image results