forked from indymedia/epicyon
Center icon
parent
cc769e731e
commit
c07387d4ff
|
@ -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 {
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue