Plugin

EE 1
EE 2
RandPro

Developer

Micky Hulse

3rd Party (Free)


Compatibility

  • LG Addon Updater
  • Multi Site Manager
  • Stand Alone Entry Form

Requirements

  • jQuery for the Control Panel

Tags

Displays a random image.

REQUIRED PARAMETERS:

  • “folder”: Example: /path/from/root (no trailing slash)

BASE SINGLE VARIABLES:

  • “rp_flash”: TRUE/FALSE test for Flash-based content.
  • “rp_url”: /path/from/root/to/random.file
  • “rp_width”: Width, dynamically obtained.
  • “rp_height”: Height, dynamically obtained.
  • “rp_name”: File name without extension.
  • “rp_ext”: Extension.

USAGE:

{exp:randpro folder="/images/random"}
Do something else,
{rp_url}, {rp_width}, {rp_height}, {rp_name}, {rp_ext}
{/exp:randpro}

EXAMPLE OUTPUT:

  • Do something else, /images/random/foo.jpg, 811, 150, foo, jpg

RandPro Links

This entry was last updated December 2, 2009, 5:28 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. Devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!