How do I fetch images from Pexels api and display on screen using Image in next 13.
Unanswered
Siamese Crocodile posted this in #help-forum
Siamese CrocodileOP
I'm trying to get the images from Pexels api and render it on screen but it's throwing me error that map doesn't exist on photos.
12 Replies
Masai Lion
try maybe this
{pictures.map((pic) => (
)}
)}
change {} to ()
@Siamese Crocodile
Siamese CrocodileOP
It has been resolved but there's another problem I'm not able to render images in Image component there's some error about next.config.js or something about remotePatterns
can i see the other error ?
@Masai Lion it was solved doing what i told you
Siamese CrocodileOP
no I somehow resolved it
yes I'll send the ss
it throws 403 forbidden
Siamese CrocodileOP
resolved !