react-image icon indicating copy to clipboard operation
react-image copied to clipboard

Cannot convert external URLs when apikey is not provided

Open khwerhahn opened this issue 3 years ago • 0 comments

I get the error message Cannot convert external URLs when apikey is not provided. How can I add my apiKey or is it even possible to call the image without a key?

export const BlogImg = (props) => {
  console.log(props)
  const { src, img } = props;
  const asset = {
    handle: src,
    width: img.width,
    height: img.height
  }

  return <Img image={asset} maxWidth={800} alt={src.alt} fadeIn/>
}

khwerhahn avatar Oct 12 '22 12:10 khwerhahn