PDF Conversion Issues

How to Create a PDF with Images and Their File Names

Khadija KhanKhadija Khan Nov 5, 2026 871 views

Question details

The user needs to compile a collection of images located in multiple subfolders into a single PDF, with each image's file name displayed as a label or caption.

How to Create a PDF Containing Images and Their File Names
Product
PDF Creator
Device & OS
not provided
Scenario
Creating a contact sheet, portfolio, or documentation PDF from an organized directory of images, ensuring each picture is clearly identified by its original file name.
Observed behavior
The goal is to automate or systematically process the insertion of multiple images and their corresponding text captions into a consolidated PDF document.
Before you start

Gather all your required images from the various subfolders and temporarily copy them into a single, consolidated master folder to streamline the batch import process.

Solution 1Recommended

Create a PDF Contact Sheet using Photo Layout Tools

Using a dedicated photo manager or PDF layout tool allows you to automatically generate a contact sheet that pulls file names as captions, saving you from manual data entry.

Many professional image viewing and PDF creation applications feature a 'Contact Sheet' tool. This utility is specifically designed to arrange multiple images on a page and extract metadata, such as the file name, to display directly below the photo.

1
Organize your images

Place all the images you want to include into a single folder on your computer to make batch selection easier.

2
Open a photo layout tool

Launch an image management program (such as Adobe Bridge, Lightroom, or a dedicated contact sheet creator) and navigate to your consolidated image folder.

3
Configure contact sheet settings

Select all the images, choose the 'Create Contact Sheet' or 'Print' option, and check the box labeled 'Use Filename as Caption' or 'Show Image Name'.

4
Print to PDF

Set your output printer to 'Microsoft Print to PDF' or use the software's built-in 'Export as PDF' function to generate the final document.

Create a PDF Contact Sheet using Photo Layout Tools
Automation Advantage: This method automatically pulls the exact file names, ensuring zero typos and saving hours of manual formatting if you have hundreds of images.
Complete PDF Solution

Easily Create and Edit PDFs with WPS Office

WPS Office offers a powerful built-in PDF editor and a comprehensive Writer tool, allowing you to easily organize images, add descriptive text captions, and export your compilation directly to a high-quality PDF.

  1. 1. Open WPS Writer: Launch WPS Office, select Writer, and create a new blank document for your image layout.
  2. 2. Insert Images: Go to the 'Insert' tab, click 'Picture', and select the images you have collected from your subfolders.
  3. 3. Add Captions: Type the corresponding file name beneath each image, utilizing WPS Writer's alignment tools to center your text.
  4. 4. Export to PDF: Click on 'Menu' in the top-left corner, select 'Export to PDF', configure your save settings, and click 'Export' to finalize your PDF.
Easily insert multiple images and customizable text captions into a single document layout.Fully compatible with Microsoft Word (.docx) formats and standard PDF standards.Free and lightweight alternative for all your PDF conversion, creation, and editing needs.
microsoft office alternative - wps office

Frequently Asked Questions

Can I automatically extract file names as captions in standard word processors?

In standard word processors like Microsoft Word or WPS Writer, automatically extracting file names usually requires a custom VBA macro. Without a macro, you will need to type or copy-paste the file names manually below each inserted image.

How can I batch convert images from different folders into a single PDF?

The most efficient way is to first copy or move all the required images into one single directory. Then, you can use a batch PDF creation tool or a photo layout application to select the entire folder and merge them into one document in a single action.

What is the best format to save images before converting them to PDF?

Standard formats like JPEG and PNG are universally supported and best for PDF conversion. JPEGs keep file sizes small for photographs, while PNGs are ideal if your images contain text or require transparent backgrounds.