Formatting Issues

Fix Word Mail Merge Truncating Header Images When Saving

WPS EditorWPS Editor Oct 9, 2026 869 views

Question details

The user needs to prevent header images from being cropped or shifted when saving merged documents from a Word mail merge template.

How to Fix Word Mail Merge Truncating Header Images When Saving
Product
Microsoft Word
Device & OS
not provided
Scenario
Performing a mail merge and saving the output documents containing header images.
Observed behavior
The header image displays correctly in the template but appears truncated, cropped, or shifted in the final saved merged documents.
Before you start

Before adjusting your document, save a backup copy of both your main mail merge template and your data source file to prevent accidental data loss during troubleshooting.

Solution 1Recommended

Adjust Image Wrapping Style and Header Margins

Changing the image text wrapping to 'In Line with Text' or adjusting the header margins can prevent the image from shifting or being cut off during the merge.

Floating images in headers often conflict with page margin boundaries when a mail merge is executed. Forcing the image to act as a text character ensures it respects the document boundaries.

1
Open Header & Footer Tools

Double-click the header area of your main mail merge document to open the Header & Footer editing mode.

2
Change Text Wrapping

Select the header image, go to the 'Picture Format' tab, click 'Wrap Text', and choose 'In Line with Text'.

3
Adjust Page Margins

Go to the 'Layout' tab, click 'Margins', and select 'Custom Margins'. Ensure the top margin is large enough to accommodate the full height of your header image.

4
Preview and Merge

Preview the mail merge results, then click 'Finish & Merge' to create a new document and verify the image remains intact.

Adjust Image Wrapping Style and Header Margins
Margin Check: Ensuring the header distance from the top edge aligns with your printer's or PDF driver's printable area prevents unexpected cropping.
Seamless Mail Merge

Create Flawless Mail Merges with WPS Office

WPS Writer offers a highly compatible and stable Mail Merge feature that preserves complex layouts, including headers, footers, and floating images, without truncation.

  1. 1. Create the Template: Open WPS Writer and create your main document template, inserting your desired header image.
  2. 2. Activate Mail Merge: Go to the 'References' tab on the top ribbon and click 'Mail Merge' to activate the merging tools.
  3. 3. Import Data Source: Click 'Open Data Source' to import your spreadsheet or contact list containing the recipient data.
  4. 4. Merge to Document or PDF: Insert your merge fields, then click 'Merge to New Document' or use the built-in PDF export to save the final files with perfect layout retention.
Perfectly preserves header and footer images during mail merges without unwanted cropping.Fully compatible with Microsoft Word DOCX formats and Excel spreadsheet data sources.Free, lightweight, and features a user-friendly interface familiar to Office users.Built-in PDF exporter to save your merged documents flawlessly in one click.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my header image look fine in the template but cut off in the merged document?

This usually happens because the final merged document applies default page margins or printer settings that conflict with floating image properties in the header. Changing the image wrapping to 'In Line with Text' often resolves this.

Can I use different header images for different recipients in a mail merge?

Yes, you can use the INCLUDEPICTURE field code combined with merge fields to dynamically load different images. However, this requires careful syntax and you must update all fields (pressing F9) after completing the merge.

Does saving the merged document as a PDF fix formatting errors?

Frequently, yes. Printing or exporting the merge directly to a PDF can bypass live-layout rendering quirks that cause floating elements to shift when saving as a standard DOCX file.

What size should my header image be for a standard letter-sized document?

For best results on an 8.5 x 11 inch page with standard 1-inch margins, keep your header image under 6.5 inches wide. Ensure you adjust the top margin to match the image's height to prevent vertical cropping.