Building logic to send imageServerURL along with image tag