lorem ipsum photo 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: lorem picsum

// For 200px by 300px
https://picsum.photos/200/300
// For square
https://picsum.photos/200

Example 4: 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

Tags:

Php Example