Bugfix
Member
Hello!
I can't find a thread for this - so I wanted to ask:
Is there a way to insert an images description in the automatic "misc/lightbox" script?
my code:
Everything works fine, but the {$image.description} isn't shown in the lightbox popup.
Would be great!
Thanks, Harald
I can't find a thread for this - so I wanted to ask:
Is there a way to insert an images description in the automatic "misc/lightbox" script?
my code:
HTML:
<div data-author="Images in Abum:">
<div style="display: none;">
<xen:avatar user="$album" size="s" />
</div>
<xen:foreach loop="$images" value="$image">
<a href="{xen:link albums/standalone, $image, 'embedded=1'}" target="_blank" class="LbTrigger" data-href="misc/lightbox">
<img src="{$image.thumbnailUrl}" alt="{$image.description}" title="{$image.description}" class="LbImage" />
</a>
</xen:foreach>
</div>
Everything works fine, but the {$image.description} isn't shown in the lightbox popup.
Would be great!
Thanks, Harald