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
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
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.
![Image](https://cdn.discordapp.com/attachments/1130039396482170880/1130039396691882004/Screenshot_from_2023-07-16_12-56-42.png)
12 Replies
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Masai Lion
try maybe this
{pictures.map((pic) => (
)}
)}
change {} to ()
@Siamese Crocodile
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
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
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Masai Lion
it was solved doing what i told you
can i see the other error ?
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Siamese CrocodileOP
no I somehow resolved it
yes I'll send the ss
![Image](https://cdn.discordapp.com/attachments/1130039396482170880/1130075776692260885/Screenshot_from_2023-07-16_15-27-27.png)
![Image](https://cdn.discordapp.com/attachments/1130039396482170880/1130075777002655775/Screenshot_from_2023-07-16_15-27-18.png)
it throws 403 forbidden
![Avatar](https://cdn.discordapp.com/embed/avatars/5.png)
Siamese CrocodileOP
resolved !