ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში მხარდაჭერის საიტზე. აქ არასდროს მოგთხოვენ სატელეფონო ნომერზე დარეკვას, შეტყობინების გამოგზავნას ან პირადი მონაცემების გაზიარებას. გთხოვთ, გვაცნობოთ რამე საეჭვოს შემჩნევისას „დარღვევაზე მოხსენების“ მეშვეობით.

ვრცლად

pasting in HTML code that has attachments

  • 7 პასუხი
  • 0 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 20 ნახვა
  • ბოლოს გამოეხმაურა sfhowes

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.

ყველა პასუხი (7)

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

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

       height="682"

ჩასწორების თარიღი: , ავტორი: rayandrews

გამოსადეგია?

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. ???

გამოსადეგია?

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/

გამოსადეგია?

> 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.

გამოსადეგია?

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.

ჩასწორების თარიღი: , ავტორი: rayandrews

გამოსადეგია?

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

გამოსადეგია?

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

გამოსადეგია?

დასვით კითხვა

უნდა შეხვიდეთ ანგარიშზე პასუხის დასაწერად. გთხოვთ, დასვათ ახალი შეკითხვა, თუ ჯერ არ გაქვთ ანგარიში.