How to fetch images from online stock image website like unsplash and use them

Hello guys, sorry to disturb you all; I want to build a small javascript project; it is an image gallery project; the problem is I need to download images every time I need some, is there a way to dynamically fetch some images online ?
3 Replies
Chris Bolson
Chris Bolson5mo ago
Take a look at https://picsum.photos, that might suit your needs.
Faker
FakerOP5mo ago
ty !
clevermissfox
clevermissfox5mo ago
Unsplash used to have a placeholder service but now you would need to use the api. Try Chris' suggestion or look into pexels and see what the options are these days

Did you find this page helpful?