Random Image Readme

Complete installation guide for the Random Image script.

Installation

  1. Upload image.pl to your cgi-bin directory
  2. Set permissions: chmod 755 image.pl
  3. Configure the image directory path
  4. Call the script as an image source

Configuration

VariableDescription
$image_dirDirectory containing your images
$image_urlURL path to images
@valid_typesAllowed image extensions (gif, jpg, png)

Usage

<img src="/cgi-bin/image.pl">
Back to Documentation Random Image Overview