Just put your image size (width & height) after our URL and you'll get a placeholder.
https://picsum.photos/200/300
To get a square image, just put the size you want.
https://picsum.photos/200
Get a random image by appending ?random
to the end of the url.
https://picsum.photos/200/300/?random
Use the /g/
path to greyscale the image.
https://picsum.photos/g/200/300
Get a list of images by using the /list
endpoint.
https://picsum.photos/list
[
{
"format": "jpeg",
"width": 5616,
"height": 3744,
"filename": "51492538696.jpg",
"id": 0,
"author": "Alejandro Escamilla",
"author_url": "https://alejandroescamilla.com/",
"post_url": "https://unsplash.com/post/51492538696/download-by-alejandro-escamilla"
}
]
Get a specific image by appending ?image
to the end of the url.
https://picsum.photos/200/300?image=0
You can find a list of all images here.
Get a blurred image by appending ?blur
to the end of the url.
https://picsum.photos/200/300/?blur
Select the cropping gravity by adding ?gravity
to the end of the url.
Valid options are: north, east, south, west, center
https://picsum.photos/200/300/?gravity=east