This module displays a random image from your chosen folder.

Module Parameters

The module has five parameters:

  1. Image Type (text)
  2. Image Folder (text)
  3. Link (text)
  4. Width (number)
  5. Height (number)

Helper File

The helper file has three functions:

  1. public static function getRandomImage(&$params, $images)
  2. public static function getImages(&$params, $folder)
  3. public static function getFolder(&$params)