How to prevent an image from overlaying a table

I have a Writer document in which I have a few paragraphs with an image right-aligned alongside them. The image is anchored to the first text paragraph. The image’s “wrap” settings (Optimal) cause the text paragraphs to flow (correctly) to fill the space to the left of the image. But there is a full-width table immediately after the text paragraphs, and unless the preceding text is long enough to “push” the table below the bottom of the image, the image will always overlay the table.

This is not desirable behaviour.

I have seen a similar issue here: https://ask.libreoffice.org/t/forcing-text-to-clear-tables-under-images/3546 but that solution doesn't really do it for me. Neither does the idea of placing everything inside a table, like old-school HTML formatting.

I understand that it's not really possible to "wrap" a table around an image. So I'm looking for something like a table property that would cause it to "sink" below an image that's anchored to a preceding paragraph. But of course that doesn't exist (LO 6.3.4.2).

Can you suggest any other way to resolve this?

Also using 6.4.3.2, made a test with a paragraph and a frame anchored to paragraph, followed by a full width table. I made the frame tall enough to overflow the paragraph.

The table flew under the paragraph, adjusting its width to the one available between left margin and frame. Screenshot:

The issue you mention occurs only if table cannot adjust to the available space, i.e. if you force table width. Check in Table>Properties, Table tab that Alignment is set to Auto.

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) or comment the relevant answer.

Thanks for looking at this. It seems like your test confirms that an image will overlay a full-width table, and I appreciate the suggestion of making the table width automatic. Unfortunately in my document the table needs to be the full page width.
Still looking for a general solution.