Formatting Issues

How to Keep a Photo and Caption Together in a Document

Khadija KhanKhadija Khan Oct 23, 2026 872 views

Question details

The user wants to ensure an inserted image and its corresponding text caption stay linked and move together when document formatting or layout changes occur.

How to Keep a Photo and Caption Together in a Document
Product
Word Processor
Device & OS
not provided
Scenario
Adding images with descriptive captions to a document and editing the surrounding text without breaking the layout.
Observed behavior
Without proper grouping, the photo and caption separate across different pages or paragraphs as the document layout shifts.
Before you start

Ensure your image is already inserted into the document and that you have finalized the exact wording for your caption before grouping them.

Solution 1Recommended

Use a Text Box to Group the Photo and Caption

Placing both the image and the text inside a single text box is the most reliable way to ensure they move together as a single unit.

By containerizing both elements, the word processor treats them as a single object, preventing pagination from splitting them apart.

1
Insert a Text Box

Go to the 'Insert' tab on the top ribbon and select 'Text Box'. Draw a text box large enough to hold your photo and caption.

2
Insert the Image

Click inside the text box, navigate back to the 'Insert' tab, select 'Pictures', and choose your photo to place it inside.

3
Add the Caption

Press the 'Enter' key after the image and type your caption text directly beneath the photo within the same text box.

4
Adjust Text Wrapping

Select the text box, click the 'Layout Options' icon that appears nearby, and choose a wrapping style like 'In Line with Text' or 'Square' so the box moves smoothly with your document.

5
Remove Text Box Outline

Right-click the outer edge of the text box, select 'Format Object' or 'Format Shape', and set the 'Line' color to 'No Line' to hide the border.

Use a Text Box to Group the Photo and Caption
Pro Tip: Center-align both the picture and the text inside the text box for a cleaner, more professional appearance.
Seamless Document Editing

Easily Manage Images and Captions with WPS Writer

WPS Writer offers an intuitive interface to seamlessly group images, insert captions, and lock elements together. It provides powerful layout options to ensure your document looks professional and elements never separate unexpectedly.

  1. 1. Open Your Document: Launch WPS Writer, open your document, and select the image you have inserted.
  2. 2. Use the Insert Caption Tool: Right-click the image and select 'Insert Caption' from the menu. Fill in your descriptive text in the dialog box, and WPS will automatically attach it below the image.
  3. 3. Group with a Text Box: Alternatively, use the 'Insert' > 'Text Box' feature to encapsulate both the image and the text, then set the shape outline to 'No Line' for a flawless presentation.
100% compatible with Microsoft Word formats (.docx)Built-in easy 'Insert Caption' tool for imagesAdvanced object grouping and text-wrapping controlsFree, lightweight, and fast word processor
QA img-9

Frequently Asked Questions

Why does my caption move to the next page without the picture?

This happens because the word processor treats the image and caption as separate paragraphs. If the text preceding the image expands, the caption gets pushed to the next page. Grouping them inside a text box or table cell forces the software to treat them as a single, unbreakable block.

Can I use paragraph formatting to keep the photo and caption together?

Yes. If your image is formatted 'In line with text', highlight the paragraph containing the image, go to Paragraph settings, and check the 'Keep with next' option under the Line and Page Breaks tab. This instructs the application to keep the image and the immediately following caption paragraph on the same page.

How do I add a caption automatically in a document?

Most modern document editors, including WPS Writer, feature an automated caption tool. Right-click your image and select 'Insert Caption'. This allows you to add numbered labels (e.g., Figure 1) that stay linked to the image logically within the document's structure.