Display title above each thumbnail

Integration of Magic Zoom Plus from http://www.magictoolbox.com with Actinic.
Post Reply
norman
Site Admin
Posts: 1238
Joined: Sat Feb 07, 2004 9:55 pm

Display title above each thumbnail

Post by norman » Sat Jul 04, 2015 10:29 am

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.
Norman

Post Reply