Quick Tip: Insert dynamically generated placeholder images within email templates and landing pages

by | May 4, 2022 | Blog, Email marketing, Quick tips, Resources

Date last updated:
Insert dynamically generated placeholder images within your email templates and landing pages simply by inserting a source link. Your source link will define your desired placeholder image size, and the image will render automatically to the correct size within your content (unless you override image size in some other way such as inline sizing or via CSS).

Example placeholder image:

Example placeholder image link with image width and height defined:

Update the size and image format as desired within your link.

Example placeholder image link with placeholder text overlay:

Placeholder text is optional but helps people to know at a glance what image size they would want to use when replacing the placeholder image with a real image.

How your dynamically generated placeholder image might look within your content:

In this case we have inserted our placeholder image within an email template.

Example placeholder image link with image width defined and image height as auto:

If you only want to set the width and leave height as auto then formulate your link like this:

Example placeholder image link using JPG image format:

If you’d rather use a JPG rather than PNG then just change your source link:

More info is available on placeholder.com.

Author | Jeff Kemp

Founder and Principal Consultant

With 30 years of marketing experience I've been laser targeted on Marketing Automation for 10 years, seven of those as a Salesforce Certified Pardot Consultant, and more recently a HubSpot Expert.

Since I've worked with a lot of clients in various industries I've seen several of the same struggles that are common to almost all organizations (as outlined in this article). With each organization and project that I'm involved with I work hard to solve many of those typical problems, plus identifying and solving sometimes unique and complex issues which often involve cleaning up technical debt from legacy systems and helping organizations set up effective lead management systems using best practices and proven methodologies.

I also love dogs :0)

My growing team and I at Optimal Business Consulting (OBC) help organizations to implement, optimize, and maintain their existing or new Pardot, HubSpot, or Salesforce platform. OBC is proud to be a Salesforce Partner and HubSpot Partner. -->More about Jeff & OBC

Subscribe to our articles

Like this article? Comment with your feedback below, and subscribe for all the latest helpful information.

You might also like

Apply to be a Guest Poster if you are interested in writing one or more articles for our blog. To qualify you must be a subject matter expert that aligns with one of our current blog categories.


Submit a Comment

Your email address will not be published. Required fields are marked *

Related articles…