This reverts commit dd7bea4bd146acf52086d303fce34a83d52f2516, reversing changes made to ce16cd12ec4646413581f5ade6487387f56723e3.
6 lines
335 B
Smarty
6 lines
335 B
Smarty
{{if $image.preview}}
|
|
<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}}
|