Working CDN compatibility for images.