forked from indymedia/epicyon
Don't specify image dimensions
parent
4c481b5dfc
commit
31e33b8f46
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue