When you insert both shapes and images into a Word document, you often want to keep them together as a single object. However, grouping a shape with an anchored image can cause the image to shift or lose its position relative to the text. This happens because Word treats images and shapes differently regarding text wrapping and anchoring. This article explains how to group a shape with an anchored image without losing the image’s position. You will learn the correct order of operations and the specific text wrapping settings required.
Key Takeaways: Grouping Shapes and Anchored Images Without Position Loss
- Set image text wrapping to In Front of Text or Behind Text: Only these wrapping styles allow an image to be grouped with a shape while keeping its anchor stable.
- Use the Selection Pane (Home > Select > Selection Pane): Select multiple objects by holding Ctrl and clicking each in the pane, then right-click and choose Group.
- Group the shape first, then add the image: Create and group all shapes before inserting the image to prevent anchor drift.
Why Grouping an Anchored Image With a Shape Causes Position Loss
Word images and shapes use different anchoring systems. An image is anchored to a paragraph by default, while a shape is anchored to a character or paragraph depending on its text wrapping. When you group an image with a shape, Word tries to reconcile these two anchor points. If the image uses a wrapping style like Square or Tight, the group operation can alter the image’s anchor to a different paragraph, shifting its position on the page.
The core issue is that grouping requires all objects to share the same anchor behavior. Shapes with In Front of Text wrapping are not anchored to a specific paragraph in the same way as images with Square wrapping. When you group them, Word may reassign the image’s anchor to the shape’s anchor point, which changes the image’s vertical or horizontal position relative to the text. This is especially problematic in multi-column layouts or documents with many floating objects.
Additionally, if the image is set to Move with Text or Lock Anchor, grouping can override these settings. The image may then move unpredictably when you edit the document. Understanding these mechanics is the first step to preventing position loss.
Steps to Group a Shape With an Anchored Image Without Losing Position
Follow these steps in the exact order. Do not skip the text wrapping change.
- Set the image text wrapping to In Front of Text
Right-click the image and select Wrap Text > In Front of Text. This detaches the image from paragraph anchoring and allows it to float freely. If you prefer the image to appear behind the shape, use Behind Text instead. Do not use Square, Tight, or Through wrapping. - Position the image exactly where you want it
Drag the image to the desired location. Because In Front of Text wrapping is selected, the image will not affect the surrounding text flow. Its position is now absolute on the page. - Insert and position all shapes
Add the shapes you need. Set each shape’s text wrapping to In Front of Text as well. Right-click the shape border, select Wrap Text > In Front of Text. Position the shapes over or near the image. - Open the Selection Pane
Go to Home > Select > Selection Pane. This pane lists all objects on the current page. It makes selecting multiple objects easier than clicking them directly. - Select both the image and the shapes
In the Selection Pane, hold Ctrl and click each object you want to group. You can also click the first object, then hold Shift and click the last to select a contiguous range. All selected objects will be highlighted in the pane. - Group the selected objects
Right-click any selected object in the pane and choose Group > Group. Alternatively, on the Shape Format tab, click Group > Group. The objects now act as a single unit. The image will keep its position because it uses In Front of Text wrapping.
After grouping, you can move the entire group as one object. The image will not shift relative to the shapes. If you need to edit an individual object later, right-click the group and select Group > Ungroup. Make your changes, then regroup.
Common Mistakes and Limitations When Grouping Shapes and Images
The Image Shifts When I Group It With a Shape
This almost always happens because the image uses Square or Tight wrapping. Change the image’s text wrapping to In Front of Text before grouping. If you need the text to wrap around the final grouped object, apply wrapping to the group itself after grouping, not to the individual image.
I Cannot Select Both the Image and the Shape at the Same Time
If the image uses In Line with Text wrapping, you cannot select it together with a shape. In Line with Text objects are treated as text characters and cannot be grouped with floating shapes. Convert the image to In Front of Text wrapping first.
The Grouped Object Moves When I Edit Text Above It
This occurs if the group’s anchor is set to Move with Text. To lock the group’s position, right-click the group, select Wrap Text > Fix Position on Page. This keeps the group at the same absolute page location regardless of text edits above it.
Grouping Causes the Image to Disappear Behind the Shape
Check the order of objects in the Selection Pane. The top object in the pane appears in front. Drag the image to the top of the list in the pane so it appears above the shape. Alternatively, right-click the image and select Bring to Front.
Grouping With In Front of Text vs Behind Text: Which Should You Choose?
| Item | In Front of Text | Behind Text |
|---|---|---|
| Description | Image floats above the text layer | Image floats behind the text layer |
| Visibility | Image is always visible on top | Text may obscure the image |
| Grouping compatibility | Works with shapes using same wrapping | Works with shapes using same wrapping |
| Text flow around group | Text flows under the group | Text flows over the group |
| Best use case | Diagrams, callouts, annotations | Watermarks, background graphics |
Both wrapping styles allow grouping without position loss. Choose In Front of Text when the image must be fully visible. Choose Behind Text when you want the image to serve as a background element that text can overlay.
After grouping, you can change the group’s wrapping style to Square or Tight if needed. Right-click the group, select Wrap Text > Square. The text will wrap around the entire group, not the individual image. This gives you the best of both worlds: a stable grouped object with text wrapping.