unsplashImage()
unsplashImage(integer $width, integer $height, integer|null $id = null, string $dir = null) : string
Downloads an Unsplash image. Returns the path to file.
Parameters
integer |
$width |
|
integer |
$height |
|
integer|null |
$id |
Random if null |
string |
$dir |
|
Returns
string