promethee 4.1.16 → 4.1.17
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e6e42f0d4cb145f8b35d05d3f25bd1aa3a232893b582a33dd1b87f6ec12a043
|
4
|
+
data.tar.gz: bf7f8e5795187559af358cd49d9c765e410aba8636c3015e6b51f4f6b4dd11b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b2631fe22a469a19b9e76dddb109c9b6829cffc46df68f123a4cc2fae106474c6927a93bcf2d6fd89af06a9f981dadf96683c74b365aabde8a2febfcb2ff3e9
|
7
|
+
data.tar.gz: 4f3b348bceb066ad90efecaf6b5bd7cc621cc57facab8cfba2de7c9a0917f02075e54a9c729bafe62eb106f49842ad57a2b24c7ba2be1794512fac3c00da113b
|
@@ -1,6 +1,10 @@
|
|
1
|
-
<%
|
2
|
-
|
3
|
-
|
1
|
+
<%
|
2
|
+
image_zoomable = true if image_zoomable.nil? # do not use ||= as image_zoomable may be "false"
|
3
|
+
fullsize_url = url_for(blob)
|
4
|
+
image_width = blob.metadata.has_key?(:width) ? blob.metadata[:width] : ActiveStorage::Analyzer::ImageAnalyzer.new(blob).metadata[:width]
|
5
|
+
alt ||= ''
|
6
|
+
title ||= ''
|
7
|
+
%>
|
4
8
|
|
5
9
|
<% if image_zoomable %>
|
6
10
|
<a data-fancybox="gallery" title="<%= strip_tags(caption) %>" href="<%= fullsize_url %>">
|