Generate random image
You can use picsum.photos the following way ..
<img src=”https://picsum.photos/200/300?random=1″> <img src=”https://picsum.photos/200/300?random=2″>
You can also use https://source.unsplash.com/random/200×200?sig=incrementingIdentifier
<img src=”https://source.unsplash.com/random/200×200?sig=1″ />
<img src=”https://source.unsplash.com/random/200×200?sig=2″ />
<img src=”https://source.unsplash.com/random/200×200?sig=3″ />
Example –
5 thoughts on “Generate random image by url”
Comments are closed.