0

I'm studying from https://www.youtube.com/watch?v=Dc7LAgqy1_E

I got this problem I use hygraph to connect my blog website and at coverPhoto is a mistake

I tried to fix this as t think my hygraph is not published but I already published it also I copy API from youtube tutorial and it working for me but my API is not working

<Image  src={coverPhoto.url} alt=""/>

and I use `` for coverPhoto.url image is not sent error but does not show image too.

I want the image to be shown on the website.

this is my API playground

 query{
  posts{
    title,
    datePublished
    coverPhoto{
      url
    }
  }
}
iAmWhy
  • 327
  • 2
  • 13
apex
  • 19
  • 2
  • If it's the new Next Image component, it won't get displayed without a specified size. https://beta.nextjs.org/docs/optimizing/images#image-sizing – iAmWhy Dec 17 '22 at 11:37
  • I used instead of . I found that causes a lot of problems. – G6ix Jan 28 '23 at 03:19

0 Answers0