Attached picture style

main
Bob Mottram 2023-05-15 11:36:52 +01:00
parent e03b3f560b
commit 7d710d5cc4
1 changed files with 2 additions and 0 deletions

View File

@ -1414,6 +1414,8 @@ def get_post_attachments_as_html(base_dir: str,
attachment_str += \
'<img loading="lazy" decoding="async" ' + \
'src="' + image_url + \
'" style="margin:0;display:block;' + \
'width:100%;height:100%;object-fit:cover;' + \
'" alt="' + image_description + '" title="' + \
image_description + '" class="attachment"></a>\n'
if media_license and media_creator: