Permute an array of values.
EXAMPLE HERE
Just change the directory to what you want, it's set to http://www.yoursite.com/images/ right now, so change to what you want.