[PHP] random-image-api

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

Oblivion

Member
CC Dev Team
Jul 25, 2016
26
28
73
A simple random-image-api written in PHP.

Getting Started
  • Download or clone from the GitHub repository.
  • API Path: ./assets/api/ri-api.php
  • Default Img Path: ./assets/images/
Code:
<?php require_once './assets/api/ri-api.php'; ?> <!-- Request API file. -->
<img src="<?php echo $path . $img ?>"/> <!-- Displays images. -->

Code:
$path = './assets/images/'; //Change the img file path if needed.

Useful Links
 
General chit-chat
Help Users
      Chat Bot: lordKenny is our newest member. Welcome!