Is there a way to add images to a table of contents?

I have a number of full-page images at the end of my document that I’d like to include in my table of contents. There is no room on the page to put headers, and I don’t really want them there anyway. Is there any way to specify a custom entry for the table of contents? Or some way to specify an outline position (and label) for an image?

Edit: What I want is an entry to appear in the table of contents that points to the page that the image is on, for example: “Picture of Foo…25”. It’s not so much that there is no room on the page for headers, but that I don’t want a header to appear on that page (or any other), as it wouldn’t look good.

Using Libreoffice 7.1.4.2 on Linux.

Edit your question to elaborate a bit. Do you want to use an image (a single one for all pages of the TOC) as page background? Are the images associated with specific TOC entries?

What do you mean with “there is no room on the page to put headers”? A page always has margins. You can eventually borrow from one margin to create a dummy or fake header (one line worth only) for the purpose of anchoring other objects.

As always, mention OS name and LO version.

Don’t use Add answer which is reserved for solutions here.

the way i understand your question is that you want a descriptive remark appear in the table of contents, while this remark does not show up/disturb your full page image

The idea is to put a TOC entry on the page, and put the image on top of that, hiding the text.

insert for instance a header on a page > insert an image > right click the image > set wrap to “wrap through”

That works’ great, thanks.

It is much easier to create a separate table of illustrations than to try to embed this information within a TOC.

All you need to do is to “tag” your illustrations with a dedicated paragraph. You didn’t describe how your images were added to your document. For this solution, I assume the images have been Inserted>Image and anchored to some paragraph (this is the most versatile setting, though perhaps not the easiest for a beginner).

Tagging an image:

  • click on an image to select it

  • Insert>Caption

    • select from Category drop-down menu the one best fitting your taste (Illustration or Figure might be what you expect)
    • type the caption in Caption entry box
    • OK

    You now have a frame containing the nested image and a paragraph for the caption. The caption has received a paragraph style which name is the same as the “category”. Customize said paragraph style to your needs. By default, the frame has frame style Frame. This is the style to modify to add some padding space around the illustrations but due to some “glitches” with frame style updates (upsetting newbies), you might be better off doing direct-formatting on the frames (and only on the frames).

You may already have captions for your illustrations. Remove these because they are not linked to the illustrations as are the inserted captions.

When all your images are tagged, go before or after the TOC, where you want the list of illustrations.

  • Insert>TOC & Index>TOC, Index or Biliography
  • from Type, select Table of Figures
  • set your own Title
  • from Category, select Illustration (in fact the category you selected when captioning your images)
  • OK

To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer which is reserved for solutions) or comment the relevant answer.

This is useful information, but not what I was looking for, and doesn’t address the requirements in the question. I wanted the images to appear in the table of contents, not a separate table (the document is too short to require such a thing). Also, it’s a page-size SVG diagram with it’s own titles and captions embedded in it, so I did not want additional text on the page.

Describe how the image is inserted into Writer, likely Insert>Image but it is anchored somewhere. So tell how. The titles and captions inside SVG cannot be retrieved by Writer and therefore cannot be directly entered into the TOC.

The trick is to add hidden text into the paragraph the image is anchored to and give a TOC-compatible style to this paragraph. How many heading levels are you using?

In case you’d like more information, reopen the question to allow answer update. Or if you didn’t close the question (using the command link), erase “[closed]” in the title. “[closed]” is automatically added with the close link and, in addition, it launches ancillary procedures on the database. So commenting a title is not the same as using the built-in command.