Removed lightbox that caused bugs like Maximum stack size exceeded. TODO later: Add a new way to open attachment image bigger.

Thanks to xet7 !

Related #4545
This commit is contained in:
Lauri Ojansivu 2022-06-06 14:57:16 +03:00
parent e4e1a8f4e6
commit dfea3d0e73
3 changed files with 14 additions and 18 deletions

View file

@ -19,7 +19,9 @@ template(name="attachmentsGalery")
.attachments-galery
each attachments
.attachment-item
a.attachment-thumbnail(href="{{link}}" title="{{name}}" data-lightbox="{{name}}")
// TODO: Add popup of attachment image later, with some swipebox or lightbox that would not add bugs
// a.attachment-thumbnail(href="{{link}}" title="{{name}}")
span.attachment-thumbnail(href="{{link}}" title="{{name}}")
if link
if isImage
img.attachment-thumbnail-img(src="{{link}}")