Fix #15 Support live photos and HEIC images

This commit is contained in:
Alan Grainger
2024-11-12 09:48:03 +01:00
parent 6608d8ca5b
commit b5265edb6a
8 changed files with 51 additions and 29 deletions
+2 -1
View File
@@ -15,7 +15,8 @@
<div class="play-icon"></div>
</a>
<% } else { %>
<a href="<%- item.originalUrl %>">
<a href="<%- item.previewUrl %>"<% if (item.downloadUrl) { %>
data-download-url="<%- item.downloadUrl %>"<% } %>>
<img alt="" src="<%- item.thumbnailUrl %>"/>
</a>
<% }