From 6c84b4a1b746a11962e85a760449b81bfe9c8a34 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Sat, 28 Sep 2019 15:36:58 +0100
Subject: [PATCH] Image id

---
 epicyon-profile.css | 14 +++++++-------
 webinterface.py     |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/epicyon-profile.css b/epicyon-profile.css
index d183b1e09..fe13fa39e 100644
--- a/epicyon-profile.css
+++ b/epicyon-profile.css
@@ -762,13 +762,6 @@ input[type=checkbox]
     transform: translateY(-10%);
 }
 
-.galleryIcon {
-    position: absolute;
-    top: 15px;
-    right: 30px;
-    width: 50px;
-}
-
 .galleryContainer {
     background-color: var(--main-bg-color);
 }
@@ -789,6 +782,13 @@ div.gallery img {
     height: auto;
 }
 
+div.gallery img.galleryIcon {
+    position: absolute;
+    top: 15px;
+    right: 30px;
+    width: 50px;
+}
+
 div.imagedesc {
     padding: 22px;
     text-align: center;
diff --git a/webinterface.py b/webinterface.py
index f40e7e1a6..a1ba3f1b8 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -1881,7 +1881,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
                                     '<div class="gallery">\n' \
                                     '  <a target="_blank" href="'+attach['url']+'">\n' \
                                     '    <img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" width="600" height="400">\n' \
-                                    '    <a href="'+messageId+'"><img class="galleryicon" src="/'+iconsDir+'/gallery.png" alt="'+translate['Show original post']+'" title="'+translate['Show original post']+'"/></a>\n' \
+                                    '    <a href="'+messageId+'"><img id="galleryicon" src="/'+iconsDir+'/gallery.png" alt="'+translate['Show original post']+'" title="'+translate['Show original post']+'"/></a>\n' \
                                     '  </a>\n'
                                 #if postJsonObject['object'].get('content'):
                                 #    galleryStr+= \