What you'll see
In the generated document:
- an empty space where the image should be
- the image's web address printed as text
- a broken-image icon or red X
- an image that's far too large, too small or stretched
- the error "Document is too large to process" (DME-DOC-001)
Most likely causes
- The tag is missing the
Image:prefix. - The field is empty on this record, or doesn't hold a direct link to an image file.
- The image is at an address the Docs Made Easy server can't reach.
- The image is in a format that isn't supported.
- The size isn't set, or both
HandWare set and distort it. - The image file is too large.
How to fix it
The tag is missing Image:
A plain merge field such as {{Account.Logo__c}} prints the field's value, which is the URL.
- Change the tag to
{{Image:Account.Logo__c}}, using your field's API name. - Generate the document again.
See Image: insert an image from a URL field.
The field doesn't hold a valid image URL
- Open the record you generated from and copy the value of the image field.
- Paste it into a new browser tab. It must open the image itself (an address that usually ends in
.png,.jpgor.jpeg), not a web page that contains the image. - If the field is empty on some records, fill it in, or hide the image on those records with an IF condition.
The server can't reach the image
Docs Made Easy runs on its own servers, not inside Salesforce, so it fetches the image from the URL in the field. Images work best with public URLs, and Salesforce ContentVersion (Files) links work too. An address that only opens inside your company network may not be reachable.
- Test the URL in a private browser window where you're not logged in to Salesforce.
- If it doesn't open there and isn't a ContentVersion link, host the image at a public address, or use a static resource for images that don't change (below).
Images inside a Rich Text Area field show when you merge the field with the HTML parameter: {{HTML:Object.Field}}.
The format isn't supported
- Check the file type. The Template Editor supports PNG, JPG and JPEG images (version 1.11.0).
- Convert other formats, such as GIF, SVG, WebP or HEIC, to PNG or JPG.
The size is wrong
- Add the height, the width or both in pixels, for example
{{Image:Account.Logo__c:H=50:W=100}}. - To keep the original proportions, set only one of them, for example
{{Image:Account.Logo__c:W=200}}.
See Image H and W. Setting the height and width failed before version 1.19.0; upgrade if you're on an older version.
The image file is too large
A template can be at most 5 MB, and high-resolution photos and logos inserted in it are the most common reason a template goes over.
- Resize or compress the image before you upload it or store its URL.
- Generate again.
Use a fixed image for logos
If the image is the same on every document, such as your company logo, don't fetch it from a field:
- insert the image straight into the Word template, or
- upload it as a static resource and use
{{Image:StaticResource.Staticcontent}}, replacingStaticcontentwith your resource's name.
Images in headers, footers, tables and other templates
{{Image:…}}tags work in headers, footers and table rows (one image per child record), and in PowerPoint and Excel templates.{{Image:StaticResource.Name}}works in a Word header and acceptsHandW.- A watermark tag must go in the template body, not in a header or footer. The watermark then appears on every page.
Who can fix it
- The template author: the
Image:prefix, size options, fixed images. - Your Salesforce administrator: the image field and its values, static resources.
- Docs Made Easy support: a public PNG or JPG URL that opens in a browser but still doesn't appear.
Still stuck?
Contact support and send your Org ID (How to share your Org ID), the solution name or ID, the template file, a link to the record, the image URL from the field, the time with your time zone, and any error message with its Error code and Reference.