forked from indymedia/epicyon
Center icon
parent
cc769e731e
commit
c07387d4ff
|
@ -783,10 +783,10 @@ div.gallery img {
|
||||||
}
|
}
|
||||||
|
|
||||||
div.gallery img.galleryIcon {
|
div.gallery img.galleryIcon {
|
||||||
position: absolute;
|
position: relative;
|
||||||
top: 15px;
|
top: 0%;
|
||||||
right: 30px;
|
right: 0%;
|
||||||
width: 50px;
|
width: 10%;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.imagedesc {
|
div.imagedesc {
|
||||||
|
|
|
@ -1879,10 +1879,10 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
if boxName=='tlmedia':
|
if boxName=='tlmedia':
|
||||||
galleryStr+= \
|
galleryStr+= \
|
||||||
'<div class="gallery">\n' \
|
'<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' \
|
' <img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" width="600" height="400">\n' \
|
||||||
' </a>\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'):
|
#if postJsonObject['object'].get('content'):
|
||||||
# galleryStr+= \
|
# galleryStr+= \
|
||||||
# ' <div class="imagedesc">'+postJsonObject['object']['content']+'</div>\n'
|
# ' <div class="imagedesc">'+postJsonObject['object']['content']+'</div>\n'
|
||||||
|
|
Loading…
Reference in New Issue