Inserting a picture or photo in a libreoffice writer document

Hiya qubit, little did I suspect that this problem would prove so resistant to solution!!

You asked: “Hmm. Interesting. I assume you’re using Yahoo mail in the browser (right?), so the browser successfully copies the HTML and (possibly) the images as well. Oh! perhaps that’s the issue: Are the images in an email embedded or are they links? Perhaps LO just isn’t displaying a image linked by url…”

(By the way, qubit, you don’t need to restrict yourself to “comments”–you certainly should feel free to use the “answer” section, regardless of whether your response solves the problem or not.)

Yes, I’m using Yahoo mail in Firefox, and I find it interesting that you are clearly finding it hard to believe that I’m reproducing all images and graphics from the website in my email. But just to be emphatic–it’s not just the HTML, it’s not just links–every single feature of the webpage that I’ve copied is replicated in the email precisely as it appears in the original.

The reason I reproduce articles in my emails rather than provide links to those articles is that I have some lazy and/or incurious friends!!! A bare link is much less provocative than the article itself, so if the latter is right in front of them they are more likely to read it.

So qubit, what happens when YOU copy and paste images from a web page into Yahoo Mail in Firefox?

(quick follow-up) I’m not sure I have a Yahoo Mail account right now, but I’m going to test in GMail with whatever test page you guys are using… once I read through the rest of the comments on this page! :slight_smile: also, karma for you for being so descriptive

Win7x64.

With different LibreOffice versions, the images are showed after a while for update.

Paste do not embed the images in the document, but only the links, if you want the images embedded, you can do it breaking the links in Menu/Edit/Links -(Selecting links) - Break links. (in a text writer document).

In a HTML document, the links can not be breaking.

No issues pasting a single image.

Can you report a web link where to see the issues.

@mariosv – thanks for the sleuthing! When you say “in an html document, the links can not be breaking”, what do you mean? Do you mean that you can’t embed images if you Save As HTML from within LO?

@qubit1, when you go trough Menu/File/New, you can select between others, HTML document.

Hi qubit, I see that I’m forced to use this method of replying to you because of the extreme brevity required for comments.

Well, what I’m trying to do is copy and paste portions of webpages and portions of other sorts of things, including any photos, into my LibreOffice Writer documents. As I mentioned, I routinely do this for my Yahoo emails. While waiting for help on this I did some searching and learned about “Insert”. As a result, I was able to insert a photo from a file of photos into a Writer document, but this is not really what I need to be able to do.

Okay, I think I understand your question a bit better. How do you copy portions of webpages and paste them into Yahoo mail? Do you just use the mouse to highlight a portion of content, or?

Re: comment length limit, I do apologize for that problem. I’ve tried several times, unsuccessfully, to campaign for that limit to be increased, filed bugs, etc, but I have no power to effect change and, apparently, little audience to hear my requests. Using the Answer field is a clever alternative.

qubit, yes, I left-click the touchpad and move the cursor to highlight the desired portion of the webpage, then press Ctrl C, and then go to the Yahoo email, click on the spot on the email I want to deposit my parcel, and press Ctrl V. Everything-- text, photos and any and all graphics— is perfectly reproduced. It seems inconceivable to me that only lesser things would be attainable with LibreOffice Writer. But thus far, all I have are gaping holes where the photos should be!!!

Hmm. Interesting. I assume you’re using Yahoo mail in the browser (right?), so the browser successfully copies the HTML and (possibly) the images as well. Oh! perhaps that’s the issue: Are the images in an email embedded or are they links? Perhaps LO just isn’t displaying a image linked by url…

Hello Joe1234, I’m delighted to see someone with such a scientific spirit attacking this problem, but I’m disappointed by the way you chose to conduct your experiment.

As I’m sure you know (probably far better than I) web pages often have portions that cannot be copied and pasted, and THIS web page is abundantly furnished with elements that resist highlighting (and therefore cannot be copied). Furthermore, it doesn’t contain any photos, my principal concern. So, really, there cannot be a more unsuitable guinea pig for your experiment.

Let me note for the record that although for the past month I’ve had a new computer with Windows 8, for the prior six years I was using Windows XP like you, and everything I say NOW about reproducing web pages in Yahoo Mail is equally true of my experience with Windows XP in Yahoo Mail. And I am using, and have always used, Firefox, which works much better in this regard than other browsers, in my experience.

So, let’s conduct some new experiments with web pages that are more relevant. (Since you evidently have copyright concerns, you needn’t actually email any photos that you copy, or you can email them to yourself if you want to assure yourself, without violating the law, that images are preserved during the emailing process.)

So I just did what I’ve done for many years without the slightest problem. I went to a series of randomly chosen webpages with text and photos (and sometimes non-photographic images), carefully highlighted a portion of the page (making sure the photos/images were indeed “taking” the highlighting), and then pasted it all in Yahoo Mail using Firefox. 100% of the copied photos/images were precisely reproduced in Yahoo Mail (although sometimes a little smaller in size), and were preserved intact when emailed to myself. I then repeated the exact process using LibreOffice Writer (version 3.6.32) and precisely 0 % of the photos/images were reproduced there.

So, contrary to your findings: Yahoo Mail, a complete success, LibreOffice Writer, a complete failure.

Joe1234, I eagerly await your results when you attempt to replicate my experiment.

Very well, let us repeat the experiment, this time with photographs. commons.wikimedia.org has photographs that may be used freely, subject to minimal restrictions (CC-BY-SA license). Entered “viaduct” in the search box. Then I selected everything from “There is a page …” to “View (previous 20…”)

(cont.) Ctrl+C and then Ctrl+V in Writer. Again, right clicked one photo and soon after, all 17 photos appeared in all their glory in Writer. Did not perform this experiment in Yahoo Mail also b/c did not see the point.

Repro in Writer/GMail: Searched for ‘viaduct’, but couldn’t find either text listed, so I just copied a section with text, headings, and pictures. GMail and Writer preserved text, headings, and pics (small delay w/pics in Writer). Writer status bar flashed “Importing document” while pasting.

Joe1234, qubit, thanks for your efforts, and for the information produced by them!!

So, we have come full circle, and I make again the comment I made in the post which began all this: “I figure if Yahoo Mail can reproduce all photos and other graphics when I copy and paste them for an email, LibreOffice Writer should be able to do that too.” So I figured right—based on what you two experienced, LibreOffice Writer IS able to do that too.

So now we have to figure out why mine is not. If I may, Joe1234, I’d like to ask you about a little remark you made in describing what you did. You said, in your most recent set of comments, “Again, right clicked one photo and soon after, all 17 photos appeared in all their glory in Writer.”

First, qubit, did you also have to right click a photo to make images appear? Second, Joe1234, obviously when someone normally copies and pastes, he doesn’t have to do anything after pasting to make things appear. Third, I had already, several days ago, in desperation, tried right-clicking, left-clicking, simultaneous clicking, pounding on my keyboard, etc. and nothing had worked. But in light of your comment Joe1234, I tried again, and again, all four options presented to me after right-clicking yielded no photos when tried, nor did the options sound like they would yield photos.

So what’s going on? I only began using LibreOffice a month ago, with my new computer. Is it possible that Windows 8 and LibreOffice don’t yet fully mesh, and that’s why I’m having this problem? Has copying and pasting images from a web page been tested in LibreOffice Writer using Windows 8?

Anyway, thanks again, Joe1234 and qubit, for your strenuous efforts on my behalf! I really appreciate it, even if they’ve not yet yielded fruit for me!

Let’s see (1) I pasted content into LO and just waited – I didn’t need to right click for the images to appear. (2) I’m testing w/Ubuntu 12.04.1 + LO 3.5.4.2, so it’s possible there’s something diff with LO on Win8. (3) If I can find a machine w/Win8 I will definitely run the test for you!

graviton, maybe you accidentally reduced the memory allocated in LibO to graphics files? Tools → Options → LibreOffice → Memory → Graphics cache. My own settings, which I don’t know if they’re factory default or not, are “Use for LibreOffice (MB): 24” and “Memory per object (MB): 5.2”.

The right-clicking may or may not make a difference, it’s just one of the things I try when the machine doesn’t want to obey my commands promptly. Otherwise I’m afraid I’ve run out of ideas.

@qubit1, graviton said that he’d experienced the same problem before on a comp running Win XP. Don’t think it is anything to do with Win 8.

@Joe1234, re: testing this in WinXP, the line I see from graviton is “everything I say NOW about reproducing web pages in Yahoo Mail is equally true of my experience with Windows XP in Yahoo Mail.” But I’m sure graviton can clarify. I’ll continue looking for a win8 machine in the meantime