[main] Images images images
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 55s

This commit is contained in:
2024-12-30 23:29:04 +01:00
parent 57dde1df71
commit c329891e2e
2 changed files with 4 additions and 4 deletions

View File

@@ -168,10 +168,10 @@ class ImageService:
self.validate_image( file_path, width = width,height=height, overwrite = True )
tag = f'<img src="/{file_path.dest_filename_webp}" alt="{alt}"'
if width:
tag += f' width="{width}"'
if height:
tag += f' height="{height}"'
# if width:
# tag += f' width="{width}"'
# if height:
# tag += f' height="{height}"'
if css_class:
tag += f' class="{css_class}"'