This requires the User Macro: include-lightbox - OrangeBox macro on the page also. or in Custom HTML

Name

me-image

Macro Body Processing

No macro body

Output format

HTML

 

Macro 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

#set ($title=$parampath.replace("//", ""))
#set ($title=$title.replace("%20", " "))

<a id="single_image" href="/media/${parampath}thumbs/800pxHigh/${paramimage}" data-ob="lightbox[${parampath}]" title="${title}" data-ob_caption="URL: /media/${parampath}${paramimage}"><img src="/media/${parampath}thumbs/200pxHigh/${paramimage}"></a>
  • Ingen etiketter