Added support for external URL for image