lorem pixel image code example

Example 1: lorum picsum

<img src="https://picsum.photos/200"/>;

Example 2: lorem picsum

<img src="https://picsum.photos/200/300?random=1">
<img src="https://picsum.photos/200/300?random=2">

Example 3: pic lorem ipsum

Just add your desired image size (width & height) after our URL, and you'll get a random image.

https://picsum.photos/200/300

To get a square image, just add the size.

https://picsum.photos/200

Example 4: lorem picsum

{
        "id": "0",
        "author": "Alejandro Escamilla",
        "width": 5616,
        "height": 3744,
        "url": "https://unsplash.com/...",
        "download_url": "https://picsum.photos/..."
}

Tags:

Html Example