I already managed to switch on the Titel in the Random Image Pluin
This Thread helpt me a los: indexhibit.org/forum/thread/16096/
But I can't figure out how to activate also the caption.
How can I do this?
I already managed to switch on the Titel in the Random Image Pluin
This Thread helpt me a los: indexhibit.org/forum/thread/16096/
But I can't figure out how to activate also the caption.
How can I do this?
Not sure if this will work but try it out:
$s .= "<img src='" . $OBJ->vars->images[0][$rand]['media_path'] . "' /><p class='random_img_title'>" . $OBJ->vars->images[0][$rand]['media_title'] . "</p><p class='random_img_caption'>" . $OBJ->vars->images[0][$rand]['media_caption'] . "</p>";
*
.random_img_title
and
.random_img_caption
are the css classes you can use to affect the title and the caption.
I hope the solution above works.
Yes that worked! Thanks!
This thread has been closed, thank you.