Skip to content

A radiant extension that adds tags to support displaying a random image from a directory of images.

Notifications You must be signed in to change notification settings

wemrysi/radiant-image-rotator-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

= Image Rotator

Adds tags that allow you to display a random image from a directory of images
that changes each time the page is loaded.

The <r:rotator /> tag has two attributes, "type" and "dir."  Type allows you to
specify an extension to limit and defaults to "jpg."  Dir should be a path
under the public/images path of your radiant installation that points to the
directory containing the images you want to display.

To use the rotator, simply supply the <r:rotator dir="" [type=""] /> tag for the
"src" attribute of an <img /> tag.

About

A radiant extension that adds tags to support displaying a random image from a directory of images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published