image links directly to post

main2
Bob Mottram 2019-09-28 16:16:45 +01:00
parent c07387d4ff
commit bc9ece83e7
13 changed files with 8 additions and 23 deletions

View File

@ -782,13 +782,6 @@ div.gallery img {
height: auto; height: auto;
} }
div.gallery img.galleryIcon {
position: relative;
top: 0%;
right: 0%;
width: 10%;
}
div.imagedesc { div.imagedesc {
padding: 22px; padding: 22px;
text-align: center; text-align: center;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

View File

@ -139,6 +139,5 @@
"Page up": "Tudalen i fyny", "Page up": "Tudalen i fyny",
"Vote": "Bleidleisio", "Vote": "Bleidleisio",
"Replies": "Atebion", "Replies": "Atebion",
"Media": "Media", "Media": "Media"
"Show original post": "Show original post"
} }

View File

@ -139,6 +139,5 @@
"Page up": "Bild auf", "Page up": "Bild auf",
"Vote": "Abstimmung", "Vote": "Abstimmung",
"Replies": "Antworten", "Replies": "Antworten",
"Media": "Media", "Media": "Media"
"Show original post": "Show original post"
} }

View File

@ -139,6 +139,5 @@
"Page up": "Page up", "Page up": "Page up",
"Vote": "Vote", "Vote": "Vote",
"Replies": "Replies", "Replies": "Replies",
"Media": "Media", "Media": "Media"
"Show original post": "Show original post"
} }

View File

@ -139,6 +139,5 @@
"Page up": "Página arriba", "Page up": "Página arriba",
"Vote": "Votar", "Vote": "Votar",
"Replies": "Resp", "Replies": "Resp",
"Media": "Media", "Media": "Media"
"Show original post": "Show original post"
} }

View File

@ -139,6 +139,5 @@
"Page up": "Haut de page", "Page up": "Haut de page",
"Vote": "Vote", "Vote": "Vote",
"Replies": "Réponses", "Replies": "Réponses",
"Media": "Media", "Media": "Media"
"Show original post": "Show original post"
} }

View File

@ -139,6 +139,5 @@
"Page up": "Leathanach suas", "Page up": "Leathanach suas",
"Vote": "Vóta", "Vote": "Vóta",
"Replies": "Freagraí", "Replies": "Freagraí",
"Media": "Media", "Media": "Media"
"Show original post": "Show original post"
} }

View File

@ -139,6 +139,5 @@
"Page up": "Pagina su", "Page up": "Pagina su",
"Vote": "Voto", "Vote": "Voto",
"Replies": "Risposte", "Replies": "Risposte",
"Media": "Media", "Media": "Media"
"Show original post": "Show original post"
} }

View File

@ -1879,10 +1879,9 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
if boxName=='tlmedia': if boxName=='tlmedia':
galleryStr+= \ galleryStr+= \
'<div class="gallery">\n' \ '<div class="gallery">\n' \
' <a href="'+attach['url']+'">\n' \ ' <a href="'+messageId+'">\n' \
' <img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" width="600" height="400">\n' \ ' <img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" width="600" height="400">\n' \
' </a>\n' \ ' </a>\n' \
' <center><a href="'+messageId+'"><img src="/'+iconsDir+'/gallery.png" class="galleryIcon" alt="'+translate['Show original post']+'" title="'+translate['Show original post']+'"/></a></center>\n'
#if postJsonObject['object'].get('content'): #if postJsonObject['object'].get('content'):
# galleryStr+= \ # galleryStr+= \
# ' <div class="imagedesc">'+postJsonObject['object']['content']+'</div>\n' # ' <div class="imagedesc">'+postJsonObject['object']['content']+'</div>\n'