{{vtInclude: includes/initialize.html}}
{{vtCalc: str_replace( ',{vtGetValue:vtid},', ',', ',{vtGet:Lightbox},') }}
{{vtCalc: str_replace( ',,', ',', '{vtResult}') }}
{{vtSet: Lightbox}}
{{vtCalc: saveLightbox() }}
{{vtCalc: str_replace( ',', '|', '{vtGet:Lightbox}' ) }}
{{vtSelect: -origin="{vtGet:ID_Bilder}", -type="image", -filter="{vtID} .in. {vtResult}" }}
{{vtSet: LightboxCount="{vtCountSelection}"}}
{{vtEndSelect}}
{{vtCalc: encodeNumberList('{vtGet:Lightbox}') }}
|{{vtGetValue: vtid}}|{{vtSelf}}?_&-pg={{vtID}}&lb={{vtResult}}
|{{vtEcho: {vtGet:LightboxCount} }}|