User Macro: me-image - Image lightbox with fancybox

Last modified by Normann P. Nielsen on 2013/08/26 21:17

This requires the User Macro: include-lightbox - Slimbox2 including macro on the page also

 Name me-image
 Macro Body Processing No macro body
 Output format HTML

A kind of pre-requisite is the include-fancybox macro, that attaches to the id "single image"

Code

## @param path:title=Status|type=string|required=true|desc=File Path
## @param image:title=Status|type=string|required=true|desc=Image Name
## @param group:title=Status|type=string|required=true|desc=Group

<a id="single_image" href="/media/${parampath}thumbs/800pxHigh/${paramimage}" rel="lightbox-${paramgroup}" title="${paramimage}"><img src="/media/${parampath}thumbs/200pxHigh/${paramimage}"></a>