--- title: Customizable Images and Backgrounds in Templates | PostGrid description: How to use image and background placeholders in PostGrid templates to personalize mailings with logos, QR codes, and custom visuals. --- If you have access to individual images that you would like to include with every mailing you send out, this guide will explain how to achieve this easily. While adding text can be great for personalizing your mailings, incorporating images can enhance the impact of your communications. ## Setting up a Template The easiest way to incorporate customizable images and backgrounds into your templates is by using our template builder with placeholders. This feature allows you to see how a custom logo or QR code would fit in terms of size and location. For optimal results with custom images, it is recommended that all replacements have the same size. However, you can configure your templates to accommodate changes in size, although the visual behavior may be difficult to predict. With this in mind, let’s create a basic postcard template that includes a background image and picture as placeholders, along with a standard text merge variable. ![Template builder showing a postcard with a background image placeholder, picture placeholder, and a text merge variable](/_astro/01-image.BUbAwsQV_Z1yxrVV.webp) ## Identifying Images and Backgrounds in HTML Now that the placeholder template is ready, save it and click ‘Back’ to view the automatically generated HTML. From this generated HTML, you can make the necessary adjustments and set up the merge variables. Before we proceed with the exact process, let’s discuss how you can locate the saved background and images. Let’s start with the background. Here is how it appears in the HTML format: ![Generated HTML showing the background image URL highlighted in the page CSS style attribute](/_astro/02-image.BcxDYNVA_ZTeOXc.webp) If you were to follow the highlighted URL, you would actually be taken to the image that was used as the background. To identify this systematically for all pages, you can use the browser’s built-in search functionality to quickly navigate to each page by searching for class=“page”. This search is useful as the background corresponds to each page. ![HTML source with search highlighting class=page elements to locate background images for each page](/_astro/03-image.D97_iqho_ENFio.webp) Moving on to the image, let’s see how that appears in the HTML ![HTML source showing an img tag with its src URL highlighted to identify the inline image placeholder](/_astro/04-image.2jd-xjoj_Z1Thud7.webp) To access the image included as a placeholder, you can follow the URL. To locate all images in the document, you can use the same search technique and verify the URL to ensure that it is indeed the specific image you are looking for. In this case, searching for `