Pular para o conteúdo

EXTERNAL_IMAGE: Image from another site

Este conteúdo não está disponível em sua língua ainda.

Severity Fault Stage
warning customer (the source package) build output

The component cites an image by an external https:// (or http://) URL, as a literal ending in an image extension or as the src of an element. The preview page allows images only from the Taggor CDN and data: URLs, so the image does not show in the preview; on a site it follows that site’s own Content-Security-Policy, which may block it too. The build goes on (rule external-image).

Put the image file in the component’s folder and import it (import avatar from “./avatar.png”): it is uploaded to the Taggor CDN and shows in the preview and on the site.