Local images must be imported.
이 컨텐츠는 아직 번역되지 않았습니다.
LocalImageUsedWrongly:
Image
’s andgetImage
’ssrc
parameter must be an imported image or an URL, it cannot be a string filepath. ReceivedIMAGE_FILE_PATH
.
What went wrong?
Section titled What went wrong?When using the default image services, Image
’s and getImage
’s src
parameter must be either an imported image or an URL, it cannot be a string of a filepath.
For local images from content collections, you can use the image() schema helper to resolve the images.
See Also:
Error Reference