random images url code example

Example 1: random image url

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. 
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 2: execute random image and get from url

int i = (int)(myArrayList.size() * Math.random()) //you can get the random index
String url = myArrayList.remove(i), //then you can remove that variable from list

Example 3: lorem picsum

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

Tags:

Misc Example