This is the discussion topic for the Fancybox extension.
Visit http://extensions.pivotx.net/entry/29/fancybox for more info or download.
New version 0.23 released: introducing config option to change close button display default.
If you want to use Fancybox manually, without using the PivotX popup snippet, just insert
[[fancybox_setup]]
anywhere in your template. It will add the needed Fancybox code to the head section of the HTML generated by PivotX.
// if parms width or height have been specified they should be used!
if (isset($params['width'])) {
$uplw = $width;
}
if (isset($params['height'])) {
$uplh = $height;
}
$thumbname = sprintf("<img src=\"%s%s\" alt=\"%s\" title=\"%s\" class=\"%s\" width=\"%s\" height=\"%s\" />",
$PIVOTX['paths']['upload_base_url'], $thumbname, $alt, $title, $fbclass, $uplw, $uplh
);
Harm10 wrote:I will investigate. From the top of my head: those parms are meant to be used when the thumbnail is not present (yet).
Users browsing this forum: No registered users and 1 guest