Skip to content

Cannot convert external URLs when apikey is not provided #44

@khwerhahn

Description

@khwerhahn

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/>
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions