added lazy loading to ai-images webpage

This commit is contained in:
phixxy 2023-07-09 14:58:57 -07:00
parent b0149c4df0
commit 9a22bbcf75

View file

@ -62,7 +62,7 @@ async def upload_ftp_ai_images(filename, prompt):
html_file = "phixxy.com/ai-images.html"
html_insert = '''<!--REPLACE THIS COMMENT-->
<div>
<img src="<!--filename-->" />
<img src="<!--filename-->" loading="lazy">
<p class="image-description"><!--description--></p>
</div>'''
img_list = []