Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

pasting in HTML code that has attachments

  • 7 antwurd
  • 0 hawwe dit probleem
  • Lêste antwurd fan sfhowes

more options

Greetings.

For lack of anything better I'm using TBird as an HTML editor.

I'm writing a rather long paper that includes many images. Backing up as I go, I use the 'Export Message As > HTML Format > Messages And Attachments' ... and it works fine and processes the images this way:

Anyway -- this is kinda hard to explain -- as long as I was 'working within TBird' everything was fine, but I ended up modifying my HTML via text editor to do a few things that were impossible to do in the graphical TBird screen (tweaking some math equations). So now my draft message needed to be updated with the new HTML. I use 'Insert > HTML' and paste in the entire contents of my paper and then Send it to myself. I get it back, open it and there's no images, just blank boxes.

But ... and this is interesting ... if I then take that message and save it again as HTML (as above) then if I view that HTML in FireFox, voila! It shows the images. So how can I take my HTML, import it to an email and then 'Edit As New Message' or whatever trick is needed to have the paper back with it's images intact? I hope that's not too confusing.

Greetings. For lack of anything better I'm using TBird as an HTML editor. I'm writing a rather long paper that includes many images. Backing up as I go, I use the 'Export Message As > HTML Format > Messages And Attachments' ... and it works fine and processes the images this way: <img src="EmbeddedImages-3/0.jpg" class="" width="800" height="682"> Anyway -- this is kinda hard to explain -- as long as I was 'working within TBird' everything was fine, but I ended up modifying my HTML via text editor to do a few things that were impossible to do in the graphical TBird screen (tweaking some math equations). So now my draft message needed to be updated with the new HTML. I use 'Insert > HTML' and paste in the entire contents of my paper and then Send it to myself. I get it back, open it and there's no images, just blank boxes. But ... and this is interesting ... if I then take that message and save it again as HTML (as above) then if I view that HTML in FireFox, voila! It shows the images. So how can I take my HTML, import it to an email and then 'Edit As New Message' or whatever trick is needed to have the paper back with it's images intact? I hope that's not too confusing.

Alle antwurden (7)

more options

Opps, sorry my HTML code was acted upon above. Try again:

img src="EmbeddedImages-3/0.jpg" class="" width="800"

       height="682"

Bewurke troch rayandrews op

Behelpsum?

more options

Hmm, I'm not sure why Firefox can connect the dots between the inline image tag and the image file, but Thunderbird cannot. It's possible that Firefox has a cached version of the image from a previous save, and if you were to open the HTML file in a private window -- where the regular window cache isn't used -- it would have the same situation as Thunderbird. But that's just a guess.

I think the cleanest thing would be to manually add the images back to the message in Thunderbird, but if there are too many, then copy/pasting from Firefox might work. ???

Behelpsum?

more options

You could save a message as an eml file, open it in a text editor to edit the html, then import it to TB by drag and drop to a subfolder of Local Folders. It might be easier to just use a better editor than the TB default:

https://addons.thunderbird.net/en-US/thunderbird/addon/html-source-editor/

Behelpsum?

more options

> I'm not sure why Firefox can connect the dots between the inline image tag and the image file, but Thunderbird cannot.

I think it's because I have to open the HTML were the code can find the directory where the images are found, but the email message has no way of doing that. I know there's a way that HTML can have the images within the file itself, not in a directory. I'm betting that would paste into an email with no issues.

> It might be easier to just use a better editor than the TB default:

Thanks, I'll check that out.

Behelpsum?

more options

Yeah, what I should have done is save as .eml, that way the images are built in to the file. So I did a text compare of the .html and the last-best .eml, just copied over the needed changes, and it seems fine.

Main difference is the way the images are handled:

    img src="cid:part1.njs0TyN0.k8P4a38b@eastlink.ca" class=""

Thanks guys.

BTW, the reason I converted to saving as .html is because my text editor will highlight the code, but not with .eml ... I guess I should just do a dummy temporary rename of .eml to .html when I need to do a text edit, then back again.

Bewurke troch rayandrews op

Behelpsum?

more options

BTW I can't add the addon, the 'Add' button refuses to click. I've noticed that problem before.

Behelpsum?

more options

Yes, the add-on installation bug for some Linux types has been around for a while.

https://bugzilla.mozilla.org/show_bug.cgi?id=1829370

Behelpsum?

In fraach stelle

Jo moatte jo oanmelde by jo account om op berjochten te antwurdzjen. Stel in nije fraach as jo noch gjin account hawwe.