How to Fix Mail Merge Showing the Same Picture on Every ID Card
Question details
The user is trying to create photo ID cards using a mail merge, but every generated card displays the identical first image rather than the unique picture associated with each database record.

- Product
- Word Processing Software
- Device & OS
- not provided
- Scenario
- Creating automated photo ID cards or badges using the document mail merge feature connected to a data source.
- Observed behavior
- Instead of loading individual images for each record, the merged document duplicates the first record's picture across all the ID cards.
Verify that your Excel data source contains the correct and fully qualified file paths (e.g., C:\Photos\image1.jpg) for each individual picture before attempting to fix the field codes.
Configure and Update the Mail Merge Picture Field Manually
Use keyboard shortcuts to manually insert the INCLUDEPICTURE field and force the document to refresh all images after the merge is complete.
Standard picture insertion often fails to update dynamically during a mail merge because the image gets embedded rather than linked. By using the INCLUDEPICTURE field combined with your data source's image path field, you create a dynamic link.
Even with the correct field code, the final document usually requires a manual refresh to force the word processor to fetch each unique image.
In your main mail merge document, press Ctrl+F9 to insert a pair of blank field braces { }. Do not type these braces manually.
Inside the braces, type INCLUDEPICTURE followed by a space and a quotation mark. Then press Ctrl+F9 again to insert nested braces, and type MERGEFIELD followed by the name of your image path column (e.g., { INCLUDEPICTURE "{ MERGEFIELD PhotoPath }" }).
Run the mail merge to generate a new document containing all the ID cards. At this stage, all cards will still likely show the same picture.
In the newly merged document, press Ctrl+A to select all the content, then press F9 to update all fields. The document will now fetch and display the correct picture for each ID card.

Easily Create Photo ID Cards with WPS Writer
WPS Writer provides a user-friendly and highly reliable Mail Merge tool. If you frequently generate ID cards, certificates, or personalized letters, WPS Office makes connecting to data sources and inserting fields straightforward and stress-free.
- 1. Open the Mail Merge Tool: Launch WPS Writer, navigate to the 'Mailings' tab on the ribbon, and click 'Mail Merge' to activate the feature.
- 2. Connect Your Data Source: Click 'Open Data Source' and select your spreadsheet containing the ID card names and image paths.
- 3. Insert Merge Fields: Use the 'Insert Merge Field' button to place text data exactly where you need it on your ID card template.
- 4. Merge to New Document: Click 'Merge to New Document' to automatically generate a fresh file containing all your personalized ID cards ready for printing.

Frequently Asked Questions
Why do I need to press F9 after finishing the mail merge?
Picture fields generally do not automatically refresh during the final output generation to save processing power. Pressing F9 tells the word processor to recalculate all fields, forcing it to read each unique file path and load the correct image for each record.
Can I use relative paths for my mail merge images instead of absolute paths?
It is highly recommended to use absolute file paths (such as C:\Users\Name\Pictures\photo.jpg) in your spreadsheet. Relative paths often break during the merging process because the new document does not share the same starting directory as the original template.
Why is the Ctrl+F9 shortcut not working on my laptop?
On many modern laptops, the function keys share media controls. You may need to press the 'Fn' key in combination with Ctrl+F9 (i.e., Ctrl+Fn+F9) to successfully insert the blank field braces.




