Don't specify image dimensions

main
Bob Mottram 2019-11-30 10:09:52 +00:00
parent 4c481b5dfc
commit 31e33b8f46
1 changed files with 1 additions and 1 deletions

View File

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