Use optimized DM-Logo_email.png (500px wide, 16KB) for email logo

This commit is contained in:
Troll (Hermes Agent) 2026-08-01 23:46:50 +00:00
parent 72fa09a6e1
commit 8d9c86e1b7

7
app.py
View file

@ -300,12 +300,17 @@ def send_email(to, subject, body, attachments=None, inline_images=None):
def build_signature_images():
"""Return inline image tuple list for the Dionysis Media logo."""
logo_path = Path('/mnt/Storage/DM-Logo_compress.png')
logo_path = Path('/mnt/Storage/DM-Logo_email.png')
if not logo_path.exists():
return []
return [(str(logo_path), 'dm-logo')]
# ---------------------------------------------------------------------------
# Public customer routes
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
# Public customer routes
# ---------------------------------------------------------------------------