A simple random-image-api written in PHP.
Live Version: https://random-image-api.herokuapp.com/
$ git clone https://github.com/OblivionSan/random-image-api.git
You can edit/change the api to fit your preference. Do not request me to do it.
API Path: ./assets/api/ri-api.php
Default Img Path: ./assets/images/
<?php require_once './assets/api/ri-api.php'; ?> <!-- Request API file. -->
<img src="<?php echo $path . $img ?>"/> <!-- Displays images. -->
$path = './assets/images/'; //Change the img file path if needed.
- OblivionSan - @OblivionSan | Discord Server | Website