Image description below image on media timeline

main
Bob Mottram 2019-11-28 10:26:54 +00:00
parent 69255b308d
commit d2206dd9c9
1 changed files with 1 additions and 1 deletions

View File

@ -2192,7 +2192,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
if boxName=='tlmedia': if boxName=='tlmedia':
galleryStr+='<div class="gallery">\n' galleryStr+='<div class="gallery">\n'
galleryStr+=' <a href="'+attach['url']+'">\n' galleryStr+=' <a href="'+attach['url']+'">\n'
galleryStr+=' <img loading="lazy" src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" width="600" height="400">\n' galleryStr+=' <img loading="lazy" src="'+attach['url']+'" width="600" height="400">\n'
galleryStr+=' </a>\n' galleryStr+=' </a>\n'
if imageDescription: if imageDescription:
galleryStr+=' <div class="gallerytext">'+imageDescription+'</div>\n' galleryStr+=' <div class="gallerytext">'+imageDescription+'</div>\n'