Signed-off-by: Miika Turkia <[email protected]>
---
 xslt/divelogs.xslt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/xslt/divelogs.xslt b/xslt/divelogs.xslt
index 067a726..2568824 100644
--- a/xslt/divelogs.xslt
+++ b/xslt/divelogs.xslt
@@ -164,6 +164,14 @@
           </xsl:attribute>
         </sample>
       </xsl:for-each>
+
+      <xsl:for-each select="PICTURES/PICTURE">
+        <picture>
+          <xsl:attribute name="filename">
+            <xsl:value-of select="concat('https://divelogs.de', @path, .)"/>
+          </xsl:attribute>
+        </picture>
+      </xsl:for-each>
     </dive>
   </xsl:template>
 </xsl:stylesheet>
-- 
2.5.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to