Classic template doesn't have that option for thumbnails, caption is only shown in popup.
But you can easily edit the Classic template and add caption.
Go to "plugins\content\admirorgallery\admirorgallery\templates\" make a copy of classic folder and name it "classicWithCaption". Then open the folder and open details.xml and change the gallery name, creation date, author (this is not mandatory, but it would be nice to do, so you could post your custom template here and take credits for it
After that open index.php, this files defines how the gallery will be displayed(rendered) on the page.
Find:
Code: Select all
// Loops over the array of images inside target gallery folder, adding wrapper with SPAN tag and write Popup thumbs inside this wrapper
if (!empty($AG->images)) {
foreach ($AG->images as $imageKey => $imageName) {
$html.= '<span class="ag_thumb' . $AG->params['template'] . '">';
$html.= $AG->writePopupThumb($imageName);
$html.='</span>';
}
}
And change it by adding a line that will add caption:
Code: Select all
// Loops over the array of images inside target gallery folder, adding wrapper with SPAN tag and write Popup thumbs inside this wrapper
if (!empty($AG->images)) {
foreach ($AG->images as $imageKey => $imageName) {
$html.= '<span class="ag_thumb' . $AG->params['template'] . '">';
$html.= $AG->writePopupThumb($imageName);
$html.= $AG->writeDescription($imageName);
$html.='</span>';
}
}
And that's all
Now you can also wrap $AG->writeDescription($imageName) in p or span tag add a CSS class so you could style the way caption is displayed.
template.css holds CSS styles for the template, so you can customize it
