TeamSigs
Help Center / Team And Templates / Hosting Logos And Employee Photos

Hosting Logos, Employee Photos, and Visual Assets for Email Signatures

In HTML email signatures, visual assets—such as corporate logos, staff headshots, social media icons, and promotional banners—define your organization's professional brand identity. However, rendering images reliably across modern email clients like Google Workspace (Gmail), Microsoft 365 (Outlook), and Apple Mail requires strict adherence to email protocols and public delivery standards.

This guide outlines the golden rules of email signature imagery, details the two officially supported hosting pathways, and explains why personal cloud storage services fail in email clients.


1. Overview & Golden Rules for Email Signatures

Email clients are not standard web browsers. Many platforms (notably desktop Outlook and webmail services) use strict sandboxing, proprietary caching proxies, and legacy HTML layout engines.

To ensure your images render crisply and never show as broken icons or download attachments, adhere to these fundamental rules:

The Three Golden Rules for Visual Assets

  1. Strict HTTPS Endpoint: All asset URLs must begin with https:// and use trusted SSL certificates.
  2. Direct Static Binary Files: The URL must resolve directly to a raw image ending in .png, .jpg, or .jpeg—never an HTML preview page or wrapper.
  3. Public, Unauthenticated Access: The server must serve the asset to any client without requiring login sessions, cookies, or referer headers.

Supported Pathways in TeamSigs

TeamSigs provides two distinct, supported pathways to host and manage visual assets:

  1. Enterprise Path (Option A): Self-Hosting on Company Infrastructure or Corporate CDN
    Recommended for IT and engineering teams requiring maximum governance, unified domain reputation, and automated bulk provisioning.
  2. Integrated Path (Option B): TeamSigs Native Media Library
    The plug-and-play solution for marketing leads, office managers, and growing teams seeking instant, zero-setup edge hosting.

For technical and enterprise teams, hosting visual assets directly on company infrastructure or a corporate Content Delivery Network (CDN) represents the industry standard.

Why Enterprise Teams Prefer Self-Hosting

  • Total Governance & Compliance: Your IT team retains full sovereignty over image security, file lifecycle, access logs, and data retention policies.
  • Domain Consistency & Deliverability: Serving images from your own authenticated corporate domain or subdomain (e.g., cdn.yourcompany.com or yourcompany.com/assets/...) avoids heuristic spam filtering and builds positive domain reputation with spam filters.
  • Batch Automation for CSV Imports: When onboarding dozens or thousands of employees, IT can follow a predictable naming convention based on employee IDs or usernames:
    https://cdn.yourcompany.com/signatures/headshots/emp-1042.jpg
    https://cdn.yourcompany.com/signatures/headshots/emp-1043.jpg

    This allows IT to generate CSV upload spreadsheets with formulas in seconds without manual image uploads.

  • Zero Vendor Lock-In: Because images load entirely from your infrastructure, your email signatures remain 100% operational forever. Sent, forwarded, and archived email threads will never suffer broken images, even if you modify your signature toolchain in the future.

Core Technical Prerequisites

To ensure seamless delivery across all mail clients, your server or CDN must meet these requirements:

  1. Strict HTTPS with Trusted SSL: Modern mail clients block mixed-content http:// links silently. Use a valid certificate from a recognized Certificate Authority (e.g., Let's Encrypt, Cloudflare, DigiCert).
  2. Direct Binary URLs: The URL must end in .png, .jpg, or .jpeg and return an HTTP 200 OK status with the appropriate Content-Type header (image/png or image/jpeg).
  3. Permissive CORS & Referer Rules: Configure your server to include the header:
    Access-Control-Allow-Origin: *

    Do not enforce strict Referer validation or hotlink protection that blocks requests with empty referers or referers from google.com or office.com.

  4. Cache Invalidation through Versioning: Email proxies (like Google Image Proxy) cache assets aggressively. When replacing a logo or photo, update the filename (e.g., logo-v2.png instead of logo.png) to ensure recipients receive the update immediately.

Ideal Setups

  • Cloud Object Storage + CDN: Amazon Web Services (AWS S3 + CloudFront), Cloudflare R2 with a custom domain, or Google Cloud Storage.
  • Corporate Web Server: Dedicated static directory on Nginx, Apache, or Caddy (e.g., /var/www/public/assets/signatures/).
  • Enterprise CMS Media Stores: Public assets served from your existing Webflow, WordPress, or headless CMS media library.

3. Option B: TeamSigs Media Library (Integrated & Zero Setup)

For marketing managers, operations leads, and organizations without direct access to web servers or cloud storage buckets, TeamSigs provides a built-in, native Media Library.

Accessible directly from the workspace sidebar under the Media tab (for workspace administrators), the Media Library delivers enterprise-grade edge hosting with zero configuration.

Key Benefits of the Media Library

  • Drag-and-Drop Convenience: Upload logos, banners, and employee photos directly from your browser. Supports both single-file and multi-file batch uploads.
  • Automatic Email-Optimized Compression: Uploads are processed on the server via PHP-GD:
    • Images larger than 800 px are scaled down to an optimal 800 px boundary.
    • PNG files retain 100% transparent backgrounds with native alpha-channel preservation.
    • JPEGs are compressed at 85% quality to eliminate bandwidth waste while maintaining crisp detail.
  • High-Speed Global Edge CDN: Files are uploaded to Cloudflare R2 and served globally over high-performance edge infrastructure, bypassing common mail proxy timeouts and delivering near-instant load times worldwide.
  • Deterministic, Predictable URLs: Assets are assigned clean, permanent URLs following a predictable pattern:
    https://media.teamsigs.com/{domain_id}/{filename.jpg}
  • Built-in Overwrite Protection & Quota Management: If you upload an updated version of an existing file (e.g., logo.png), TeamSigs prompts you to confirm the overwrite. Replacing the file updates the image in place without increasing your storage quota or breaking existing signatures.

Seamless Template Integration via img: Prefix

When designing signature layouts, prefix your image variables with img: inside the <img> tag (e.g. <img src="{{img:company_logo*}}" ...> or <img src="{{img:avatar}}" ...>). This syntax connects the template directly to the Media Library:

  • Interactive Asset Control: The Template Editor sidebar automatically replaces plain text fields with an Image Asset Control featuring a square thumbnail preview, direct HTTPS URL input, and a "Choose from Media Library" button.
  • 1-Click Asset Selection & Upload: Clicking the button opens a modal displaying all uploaded assets from your workspace Media Library with instant search and a drag-and-drop file upload zone. Selecting an asset populates the URL, updates the preview thumbnail, and immediately re-renders the live signature canvas.
  • Email-Safe Transparent Spacers: If an image variable is left blank, TeamSigs automatically substitutes an invisible 1×1 transparent GIF spacer, ensuring email clients never display broken-image boxes.

4. Unsupported Services (Why Personal Cloud Drives Fail)

A common mistake is attempting to use sharing links from personal cloud storage platforms (Google Drive, Dropbox, OneDrive) or developer platforms like GitHub. These services are fundamentally incompatible with HTML email signatures.

1. Google Drive, Dropbox, and Microsoft OneDrive

Failure Mechanism Technical Root Cause Result in Email
Hotlink Protection Cloud providers actively detect and block direct image embedding from external websites and email clients. Broken image placeholder box.
HTML Wrapper Shells Sharing links serve interactive web viewer pages (containing download buttons and preview interfaces), returning Content-Type: text/html instead of image bytes. Mail client refuses to render HTML inside an <img> tag.
Authentication & Cookie Challenges Cloud drives expect human browser sessions and issue redirect challenges to unauthenticated automated requests (such as Google Image Proxy). HTTP 401 Unauthorized or 403 Forbidden.
Deprecated Direct Endpoints Legacy workarounds (such as Google Drive's uc?export=view parameter) have been officially deprecated and blocked by Google. Intermittent or permanent broken images.

Summary: Never use links from Google Drive, Dropbox, OneDrive, Box, or iCloud in email signatures.

2. GitHub & Raw GitHub (raw.githubusercontent.com)

While developer teams often consider hosting signature assets in public GitHub repositories, this approach causes severe production failures:

  • Strict Rate Limiting: GitHub's raw content CDN enforces strict request rate limits designed for code distribution, not global media delivery. High-volume corporate email threads will trigger HTTP 403 Forbidden or 429 Too Many Requests errors.
  • No Mail Proxy Tuning: GitHub does not configure its edge caching headers for email client proxy architectures (such as Gmail's ci3.googleusercontent.com), frequently resulting in cached error responses across recipient inboxes.

5. Decision Matrix: Quick Comparison Table

Use this matrix to determine the best hosting strategy for your organization:

Criteria Option A: Corporate Server / CDN Option B: TeamSigs Media Library Personal Cloud Drives (Drive, Dropbox, OneDrive)
Recommended For IT, DevOps, and Enterprise Teams Marketing, HR, and Small Teams ❌ Unsupported / Not Recommended
Setup Effort Moderate (Requires server/bucket access) Zero (Built into TeamSigs) High (Fragile manual sharing workarounds)
IT & Brand Governance Total Control (Stored on company domain) High (Stored in dedicated company library) Poor (Tied to personal/ad-hoc cloud accounts)
Performance & CDN Controlled by internal CDN setup Global Edge CDN (Cloudflare R2) Severely throttled / Blocked by hotlink shields
Email Proxy Compatibility 100% Reliable 100% Reliable ❌ Fails (Returns HTML wrapper or 403)
Batch CSV Import Readiness High (Formula-driven URL generation) High (Deterministic /domain_id/filename) Low (Manual per-file share link generation)
Automatic Image Optimization Manual (Exported by designer) Automatic (Scaled to 800 px, optimized) None

6. Technical Specifications & Best Practices for HTML Email

Regardless of whether you choose Option A or Option B, adhere to the following specifications when preparing visual assets:

1. Retina 2x Display Rules

High-resolution displays (MacBook Retina, 4K monitors, modern smartphones) have double the pixel density of standard monitors. If an image is exported at 1:1 dimensions, it will appear blurry or pixelated.

  • Export Rule: Export your graphic at exactly twice the intended display dimensions.
    • Example: If your company logo displays at 160px × 50px, save the file at 320px × 100px.
  • HTML Markup: Always specify the intended 1x display dimensions in the <img> tag:
    <img src="https://media.teamsigs.com/12/company-logo.png"
         alt="Acme Corporation"
         width="160"
         height="50"
         style="display: block; width: 160px; height: 50px; border: 0;" />

2. File Format Guidelines

  • Company Logos & Icons: Use PNG with a transparent background. This ensures your logo blends seamlessly regardless of whether the recipient uses Light Mode or Dark Mode.
  • Employee Headshots & Banners: Use JPEG (.jpg) compressed to reduce file size.
  • Forbidden: Vector Graphics (SVG): Never use .svg files in email signatures. Microsoft Outlook, Apple Mail, and Gmail completely block SVG files due to XML script execution security vulnerabilities.

3. Understanding Email Proxy Caching (Cache Busting)

When an email is viewed in Gmail or Outlook on the Web, the provider's proxy server fetches the image once and caches it on their edge network.

  • If you need to update a logo or photo, do not overwrite the file with the identical name if you require instant propagation.
  • Instead, append a version number or timestamp to the filename (e.g., logo-2026.png or headshot-john-v2.jpg). The new URL forces the email proxy to fetch the fresh asset immediately.

Summary Diagnostic Checklist

Before deploying templates to your team, verify your image links using this checklist:

  • [ ] Incognito Test: Paste the image URL into a private/incognito browser tab. The image must render directly on a blank screen without any login prompts, navigation bars, or HTML viewer UI.
  • [ ] HTTPS Protocol: URL begins with https:// with no certificate errors.
  • [ ] File Extension: URL ends with .png, .jpg, or .jpeg.
  • [ ] Retina Dimensions: Image uploaded at 2x resolution with explicit width and height attributes in HTML.
  • [ ] Format Validation: Logos exported as transparent PNG; headshots exported as optimized JPEG. No SVGs.
  • [ ] Platform Verification: Hosted on company CDN or TeamSigs Media Library (no Google Drive, Dropbox, or OneDrive links).