We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

can't anchor image in header [closed]

asked 2017-02-01 23:45:58 +0200

catbill gravatar image

updated 2020-10-25 23:23:47 +0200

Alex Kemp gravatar image

I try to place an image in a header by anchoring it to the page (inside the header). However, when I save and open the file again, the image has moved down from the header. It is no longer anchored to the page but rather anchored to characters.

Why is this happening and how can I successfully do this simple task?

Thank you.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-10-25 23:24:09.232713


Hi - As I do not reproduce on my platform with .odt I suppose you save the document in a format other than .odt?


pierre-yves samyn gravatar imagepierre-yves samyn ( 2017-02-02 08:19:28 +0200 )edit

Yes, you are right. I have been saving it as docx.

catbill gravatar imagecatbill ( 2017-02-07 18:26:58 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2017-02-02 08:51:32 +0200


anchored to the paragraph. It works. image description

If my answer helped you, vote it with ✔ and with ∧ (here on the left)

edit flag offensive delete link more


Yes, that works! Thank you.

catbill gravatar imagecatbill ( 2017-02-07 18:30:53 +0200 )edit

answered 2017-02-02 10:00:12 +0200

floris v gravatar image

updated 2018-01-13 13:16:48 +0200

When you anchor something to page, you anchor it to one specific location in the document, for instance page 11. The header doesn't belong to any fixed page. As @charlie.it wrote, you have to anchor to paragraph, or in some cases to character, dependent on the kind of image. Remember that anchoring means you fix the image to a location relative to the anchor. Anchor to page means relative to a spot on a specific page. Anchor to paragraph means relative to the location of that paragraph - regardless of the page where that paragraph sits. Because the header location is fixed, the location of an image anchored to paragraph or character in the header will get the same location on all pages where that header appears.

edit flag offensive delete link more


What is a bit surprising is that this happens even when the header is a first page header. Anyway, you and Charlie certainly know the solution, so thank you.

catbill gravatar imagecatbill ( 2017-02-07 18:30:26 +0200 )edit

That doesn't matter. You can use the First Page style for the first page of the chapters of a book, and then you still have many pages with that style.

floris v gravatar imagefloris v ( 2017-02-07 18:44:29 +0200 )edit

To be clear. When the header is a first-page header, are you saying that the image should appear in pages other than the first page?

catbill gravatar imagecatbill ( 2018-01-13 02:24:54 +0200 )edit

If you have different headers/footers for first page, then anything from the first page headers/footers (including objects anchored to their text) should only appear on those first pages.

Mike Kaganski gravatar imageMike Kaganski ( 2018-01-13 13:34:32 +0200 )edit

That is what I thought. However, some of the comments are a bit unclear. To understand the logic, something anchored to a page is still not anchored to a specific location on the page. Correct? It seems a bit counterintuitive but I guess I can understand it.

catbill gravatar imagecatbill ( 2018-01-18 03:29:27 +0200 )edit

Anchoring to a page is some bad anchoring, that should have been removed completely. "Pages" in Writer are ephemeral run-time autogenerated entities, which existence depends on if the content needs this page for layout or not. If you change text properties (e.g., size); or make changes that involve placing text only on even pages; or many other things - a specific page may simply vanish. So - to what are you anchoring exactly? Placement relative to page is entirely different, and OK.

Mike Kaganski gravatar imageMike Kaganski ( 2018-01-18 07:35:39 +0200 )edit

Question Tools

1 follower


Asked: 2017-02-01 23:45:58 +0200

Seen: 1,053 times

Last updated: Jan 13 '18