helper to return image tag back to delegate