Hotfix: encode the image URL to ensure validity