Random Pictures (getRandomFile)

Tag Name
---------------

getRandomFile

Description
-----------------

Returns a random file from a given directory. Usually this tag will be used to get a random image file.

Required Parameters
-------------------------------

-directory = The directory you wish to pull the random file from.

Optional Parameters
------------------------------

-fileExtensions = An array of file extensions that the file must be restricted to. For example, if you wanted to find a random image, you probably would pass an array of gif and jpg. If you do not care about the extension or you are sure that the directory contains all of the file types you want, you do not have to pass a value in for this parameter.

Sample Usage
------------------------------

[getRandomFile:
-directory = 'images/',
-fileExtensions = (Array: 'jpg', 'gif');]




QuickwebPro
Custom Tags
External Site Redirect
Headlines With Body as a Hidden Div (QWP_headlines_hidden_divs)
Javascript News/Headline Ticker (buildTicker)
QWP_BreadCrumbs
QWP_Headlines
Random Pictures (getRandomFile)