Fix Word Mail Merge Truncating Header Images When Saving
Question details
The user needs to prevent header images from being cropped or shifted when saving merged documents from a Word mail merge template.

- 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 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.
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.
Double-click the header area of your main mail merge document to open the Header & Footer editing mode.
Select the header image, go to the 'Picture Format' tab, click 'Wrap Text', and choose 'In Line with Text'.
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.
Preview the mail merge results, then click 'Finish & Merge' to create a new document and verify the image remains intact.

Export Directly to PDF Instead of Saving as DOCX
Sometimes the pagination engine struggles when generating a massive DOCX file from a merge. Exporting or printing directly to PDF can preserve the exact layout.
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. Create the Template: Open WPS Writer and create your main document template, inserting your desired header image.
- 2. Activate Mail Merge: Go to the 'References' tab on the top ribbon and click 'Mail Merge' to activate the merging tools.
- 3. Import Data Source: Click 'Open Data Source' to import your spreadsheet or contact list containing the recipient data.
- 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.

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.




