Add Fancybox to the core

This commit is contained in:
Michael
2023-05-03 20:59:28 +00:00
parent 349fa08ece
commit b4b9a6a34a
14 changed files with 6681 additions and 32 deletions

View File

@@ -1,5 +1,5 @@
{{if $image.preview}}
<a href="{{$image.attachment.url}}"><img src="{{$image.preview}}" alt="{{$image.attachment.description}}" title="{{$image.attachment.description}}"></a>
<a data-fancybox="{{$image.uri_id}}" href="{{$image.attachment.url}}"><img src="{{$image.preview}}" alt="{{$image.attachment.description}}" title="{{$image.attachment.description}}"></a>
{{else}}
<img src="{{$image.src}}" alt="{{$image.attachment.description}}" title="{{$image.attachment.description}}">
{{/if}}