Center icon

main2
Bob Mottram 2019-09-28 16:10:21 +01:00
parent cc769e731e
commit c07387d4ff
2 changed files with 6 additions and 6 deletions

View File

@ -783,10 +783,10 @@ div.gallery img {
}
div.gallery img.galleryIcon {
position: absolute;
top: 15px;
right: 30px;
width: 50px;
position: relative;
top: 0%;
right: 0%;
width: 10%;
}
div.imagedesc {

View File

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