--- title: "Inserting images using an Excel data source" slug: "inserting-images-using-an-excel-data-source" description: "Learn how to configure image data fields in dox42 to display trainer signatures on certificates, enhancing your document templates effortlessly." tags: ["AddIn V5.0.4.2", "task"] updated: 2026-11-13T08:47:24Z published: 2026-11-13T08:47:24Z canonical: "help.dox42.com/inserting-images-using-an-excel-data-source" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.dox42.com/llms.txt > Use this file to discover all available pages before exploring further. # Inserting images using an Excel data source *This content applies to:* ![](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/DOCX-Add-In_IconBadge.svg) ![](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/PPTX-Add-In_IconBadge.svg) --- You can configure a data field to display images. For example, if you want to display the individual signatures of your trainers on a training certificate. The data source contains the partial file path to the image file and the dox42 Add-In completes and follows this path to include the image into the generated document. ## Steps 1. Add the needed images in or below the same folder as the document template. 2. Set up your [Excel data source](/help/docs/using-excel-data-in-word-and-powerpoint-templates) to contain the partial file path to the image file. In the following example the images with the signature are stored in a subfolder named `Signatures`. ![Example of a table with a partial file path to an image file](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/Bildschirmfoto 2025-06-30 um 10.32.26.png) Example of an image data field in an Excel data source 3. In Microsoft Word or PowerPoint, open your document template. 4. Go to the **dox42** ribbon and select **Insert** **Data Field.** ![Toolbar displaying various functions like Generate, Data Map, and Refresh Template options.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/setting-up-the-d365-fscm-data-sources-image-6me2xixz.png) **dox42** ribbon The **dox42 Data Fields** explorer opens, which contains all the components of the data map. 5. [Insert a new data field](/help/docs/inserting-data-fields) or select the already inserted data field in the document template that contains the path to the image. The details of this placeholder are displayed in the **dox42 Data Fields** explorer. 6. From the **Type** dropdown select the **Image** entry. 7. Enter a dimension in the **Dimension** text field using a semicolon to separate the dimension numbers. 8. Optional: Adjust the image quality to your needs. 9. In the **Directory/URL** text field enter the ` <%DOCPATH%>` variable to complete the file path to the images. The `<%DOCPATH%>` variable contains the document template’s path. In our example the dox42 Word Add-In will now complete the path defined in our Excel data source with the document template’s folder path. This could look like this: `C:/Document Templates/EmployeeList/Signatures//CelineBentleySignature.PNG` ![Settings for the Signature data field](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/Bildschirmfoto 2025-04-28 um 15.11.08.png) Configured image data field 10. Select **OK**. 11. Save the template. ## Result You have inserted an image via data field. When you [generate](/help/docs/generating-a-document-for-testing-1) the document the data field will include the image. ![Generated document with signature image](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/Bildschirmfoto 2025-04-28 um 15.12.39.png) Generated document with signature image