Ask Your Question

How center images horizontally in a table

asked 2019-08-04 16:23:50 +0100

catbill gravatar image

updated 2019-08-04 23:43:23 +0100

I have put 6 similar images in a table. In one row, the images are centered horizontally while in the other row, they are not. I want them all centered horizontally. What are the settings that determine the horizontal alignment of an image in a table?

edit retag flag offensive close merge delete


How are the images pinned? Standard is that an inserted image is tied to the paragraph and the position is horizontal middle. You could pin the images as character. Right-click on the image, choose anchoring (don't have the exact naming, because my GUI is not EN) and select as character. For each image. Than you can center the paragraphs in the table. By instant formating or better by defining a paragraph style for the table. Each image is treated as character and centered visually if alone in the line.

You have asked a lot of interesting questions and seem to have quite some experience with LO. To center images horizontally in a table is not such a complicated thing. Maybe I don't get your point and a little more information would help to clarify.

Cookievore gravatar imageCookievore ( 2019-08-04 17:32:05 +0100 )edit

Thank you for your help and ideas. I should have mentioned the anchoring. When I inserted the images, I anchored them as character. The problem is that there is no option to align them horizontally (when they are anchored as character--at least that I can find). While they are all anchored as character, the images on the top row are centered and the images on the bottom are not. I can't figure out why the images on top behave differently from those on the bottom. When I change the anchoring to paragraph for the images on the bottom, they become centered. But when I anchor them as character again, they revert to left justification. I am thinking that it is safer to anchor them as character in a table but perhaps I am wrong. While I have some familiarity with LO, I haven't dealt much with graphics, other ...(more)

catbill gravatar imagecatbill ( 2019-08-04 23:40:34 +0100 )edit

I tried to upload a file but for some reason it doesn't seem to be working.

catbill gravatar imagecatbill ( 2019-08-04 23:44:45 +0100 )edit

When anchored As character, positioning is controlled by paragraph style justification. When To paragraph, position is set in Type tab, Position section of frame/picture dialog.

ajlittoz gravatar imageajlittoz ( 2019-08-05 08:25:58 +0100 )edit

Upload of a file should be possible if you edit your original question. User paper-clip icon. In a comment this is not possible (with little Karma).

Cookievore gravatar imageCookievore ( 2019-08-05 10:04:23 +0100 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-08-05 10:09:18 +0100

Cookievore gravatar image

Here is how it looks like on my screen (W10, LO x64):

centred images in table

sample file

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-08-04 16:23:50 +0100

Seen: 254 times

Last updated: Aug 05 '19