random images code example
Example 1: lorum picsum
<img src="https://picsum.photos/200"/>;
Example 2: random photo
https://picsum.photos/500/300?random=1
https://picsum.photos/500/300?random=2
https://picsum.photos/500/300?random=3
https://picsum.photos/500/300?random=4
Example 3: random photo generator
https://picsum.photos/200/300
Example 4: lorem picsum
https://picsum.photos/200/300
https://picsum.photos/200
Example 5: random image
Here is a Random Image URL for your Project:
-> https://source.unsplash.com/user/c_v_r
Change the size -> ex. https://source.unsplash.com/user/c_v_r/1600x900
https://source.unsplash.com/user/c_v_r/100x100
ex.
<img scr="https://source.unsplash.com/user/c_v_r" alt="Free unsplash image">
This URL gives an Random Image in high and quality back!
Use it for your Website all Photos are free to use !!
or use it for any your App :-)
Example 6: random image url
const [imageStatus, setImageStatus] = useState("");
const handleImageLoaded = () => {
setImageStatus(true)
}
const handleImageErrored = () => {
setImageStatus(false)
thumbUrl = "https://picsum.photos/200/300"
}