When pasting rich text into Writer, images that are wider than the page width should be resized (preserving aspect ratio) to the width of the page. How to reproduce: 1. Copy all the text of the following webpage: https://alanstorm.com/tracing-javascripts-prototype-chain/ 2. Paste into LibreOffice Writer What happens: The single image on that page is truncated from the right, so that only the left portion of that image is visible on the page in Writer. What one expects to happen: The image should be resized preserving aspect ratio to display in the page.
Discussion here: https://ask.libreoffice.org/t/resize-images-pasted-from-webpage-to-width-of-page-if-it-exceeds-that-size/83957
In the linked discussion, a commenter noticed that the HTML of the page being copied sets an image width. Other elements with explicit widths that exceed the Writer page, are in fact resized. Content divs are a good example. I would state that any element wider than the Writer page, should be reduced in width. Images specifically should be also reduced in height to maintain aspect ratio.
*** This bug has been marked as a duplicate of bug 151033 ***