Page 1 of 1

Display title above each thumbnail

Posted: Sat Jul 04, 2015 10:29 am
by norman
To display the Title above each thumbnail do the following:
Go to Design / Library / Layouts / Zoom Image Layout / Magic Zoom Image List.
Look (around line 230) for the line:

Code: Select all

						$html .= "<img border=\"0\" class=\"mz_icon\" width=\"$iconwidth\" height=\"$iconheight\" src=\"$icontouse\"";
Immediately above it add:

Code: Select all

						$html .= ($iconalts[$i] == '' ? '&nbsp;' : htmlentities($iconalts[$i])) . "<br>"; 
Now any none-empty Zoom Image n Title will display above the icon. Best keep them short.