Well I had a quick glance and here's my best guess.
In your images ini file add a caption property to the images, for example:
Code:
[FOO]
src = img/foo.jpg
alt = Foo Image
url = http://foobar.com/
title = Some Foo
caption = Foo Caption Here
Then in the rotator script you should be able to add this code where you want the caption to appear, for the example below I've added it onto the end of the script:
PHP Code:
# if an url was specified, output the closing A HREF tag
if ( $images[$img]['url'] ) {
echo('</a>');
}
//THIS IS THE NEW CODE
if(isset($images[$img]['caption'])) {
echo '<p>'.$images[$img]['caption'].'</p>';
}
}
?>
Bookmarks