Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.software.thunderbird > #16096

Re: Pasting photos in html emails

From "Alan K." <alan@invalid.com>
Newsgroups alt.comp.software.thunderbird, alt.comp.software.firefox
Subject Re: Pasting photos in html emails
Date 2025-03-20 17:51 -0400
Organization A noiseless patient Spider
Message-ID <vri2le$181m$1@dont-email.me> (permalink)
References <09cualxkvk.ln2@Telcontar.valinor>

Cross-posted to 2 groups.

Show all headers | View raw


On 3/20/25 05:00 PM, Carlos E.R. wrote:
> Hi,
> 
> Sometimes I send html emails to friends with summaries of some news for chatting on them, 
> and I add photos. Normally, the photos are links, so the email weight is small.
> 
> Take this article, for instance (using firefox): <https://ubuntuhandbook.org/ 
> index.php/2025/03/photogimp-updated-to-help-switching-from-photoshtop-to-gimp-3-0/>
> 
> I click on the first photo, then right click on the menu, and select "Copy Image". Then on 
> the email, I simply do ctrl-v and paste the photo.
> 
> But since recently, this has a twist. The email weights one megabyte. On TB, I double 
> click on the image, and Image location contains "data:image/png;base64,iVBOR… 
> 8EtAFbFgqOrgAAAABJRU5ErkJggg==". If I save the email, it has 1 megabyte.
> 
> The remedy is to delete this line, go to firefox, right click on the image, select "copy 
> image link", and on TB paste that link in the "Image Location" field of the photo 
> (<https://ubuntuhandbook.org/wp-content/uploads/2025/03/gimp3-patched.webp>). Now when 
> saving the email it weights just 3.5 KB.
> 
> This was not happening some time ago, I always got the photo links. Now I have to be 
> careful when sending photos that I don't get the heavy version.
> 
> Why, what is going on?
> 
Seems firefox assumes when you say copy image, it means just that.  The image is copied to 
the clipboard.   If you went to Word or Libreoffice writer or Gimp or Photoshop (etc) and 
pasted, you'd get your image from the clipboard.

When you paste into email, email programs do not handle photos literally.  They translate 
them into base64 code.  Base64 has the each 8bit byte of the image translated to ascii 
characters that can be easily sent via email programs.  The problem as you have noticed is 
the overhead is huge.

One workaround, other than your first find, would be to 'save image as', then attach it to 
your email.  This would work if you were writing to say: "See my new car" and you attached 
the image.   Not so well though if  you wanted to disperse images all though the email.  I 
think your plan is the better, as long as the links don't rot.
-- 
Linux Mint 22.1, Cinnamon 6.4.8,  Kernel 6.8.0-55-generic
Thunderbird 128.8.0esr, Mozilla Firefox 136.0.1
     Alan K.

Back to alt.comp.software.thunderbird | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Pasting photos in html emails "Carlos E.R." <robin_listas@es.invalid> - 2025-03-20 22:00 +0100
  Re: Pasting photos in html emails "Alan K." <alan@invalid.com> - 2025-03-20 17:51 -0400
    Re: Pasting photos in html emails VanguardLH <V@nguard.LH> - 2025-03-20 17:36 -0500
      Re: Pasting photos in html emails bad sector <forgetski@_INVALID.net> - 2025-03-21 06:15 -0400
        Re: Pasting photos in html emails VanguardLH <V@nguard.LH> - 2025-03-21 18:52 -0500
          Re: Pasting photos in html emails bad sector <forgetski@_INVALID.net> - 2025-03-22 22:22 -0400
      Re: Pasting photos in html emails "Carlos E.R." <robin_listas@es.invalid> - 2025-03-21 12:39 +0100
        Re: Pasting photos in html emails VanguardLH <V@nguard.LH> - 2025-03-21 18:57 -0500
          Re: Pasting photos in html emails "Carlos E.R." <robin_listas@es.invalid> - 2025-03-22 15:32 +0100
      Re: Pasting photos in html emails Mark Lloyd <not.email@all.invalid> - 2025-03-21 17:08 +0000
        Re: Pasting photos in html emails "Carlos E.R." <robin_listas@es.invalid> - 2025-03-22 15:34 +0100
      Re: Pasting photos in html emails NFN Smith <worldoff9908@gmail.com> - 2025-03-21 17:05 -0700
  Re: Pasting photos in html emails Andy Burns <usenet@andyburns.uk> - 2025-03-21 06:40 +0000
    Re: Pasting photos in html emails "Carlos E.R." <robin_listas@es.invalid> - 2025-03-21 12:41 +0100
      Re: Pasting photos in html emails Andy Burns <usenet@andyburns.uk> - 2025-03-21 11:48 +0000
        Re: Pasting photos in html emails "Carlos E.R." <robin_listas@es.invalid> - 2025-03-21 13:59 +0100
      Re: Pasting photos in html emails Retirednoguilt <HapilyRetired@fakeaddress.com> - 2025-03-21 09:27 -0400
        Re: Pasting photos in html emails "Carlos E.R." <robin_listas@es.invalid> - 2025-03-21 15:07 +0100
          Re: Pasting photos in html emails Char Jackson <none@none.invalid> - 2025-03-21 11:31 -0500
            Re: Pasting photos in html emails Mark Lloyd <not.email@all.invalid> - 2025-03-21 17:17 +0000
              Re: Pasting photos in html emails Char Jackson <none@none.invalid> - 2025-03-21 15:59 -0500
                Re: Pasting photos in html emails Mark Lloyd <not.email@all.invalid> - 2025-03-22 16:43 +0000
                Re: Pasting photos in html emails Char Jackson <none@none.invalid> - 2025-03-22 16:26 -0500
            Re: Pasting photos in html emails "Carlos E.R." <robin_listas@es.invalid> - 2025-03-22 15:35 +0100
              Re: Pasting photos in html emails Char Jackson <none@none.invalid> - 2025-03-22 16:40 -0500
                Re: Pasting photos in html emails Mark Lloyd <not.email@all.invalid> - 2025-03-23 19:50 +0000
                Re: Pasting photos in html emails Char Jackson <none@none.invalid> - 2025-03-24 01:36 -0500
                Re: Pasting photos in html emails "Carlos E.R." <robin_listas@es.invalid> - 2025-03-24 11:50 +0100
                Re: Pasting photos in html emails Mark Lloyd <not.email@all.invalid> - 2025-03-24 18:32 +0000
        Re: Pasting photos in html emails Newyana2 <newyana@invalid.nospam> - 2025-03-21 11:33 -0400
          Re: Pasting photos in html emails Mark Lloyd <not.email@all.invalid> - 2025-03-21 17:24 +0000
            Re: Pasting photos in html emails Mark Lloyd <not.email@all.invalid> - 2025-03-22 16:47 +0000
              Re: Pasting photos in html emails Newyana2 <newyana@invalid.nospam> - 2025-03-22 13:31 -0400
              Re: Pasting photos in html emails Char Jackson <none@none.invalid> - 2025-03-22 16:10 -0500
                Re: Pasting photos in html emails "Carlos E.R." <robin_listas@es.invalid> - 2025-03-22 23:50 +0100
  Re: Pasting photos in html emails Newyana2 <newyana@invalid.nospam> - 2025-03-21 08:17 -0400
    Re: Pasting photos in html emails "Carlos E.R." <robin_listas@es.invalid> - 2025-03-21 15:12 +0100
      Re: Pasting photos in html emails Newyana2 <newyana@invalid.nospam> - 2025-03-21 11:30 -0400
        Re: Pasting photos in html emails "Carlos E.R." <robin_listas@es.invalid> - 2025-03-22 15:40 +0100
  Re: Pasting photos in html emails "Carlos E. R." <robin_listas@es.invalid> - 2025-05-27 14:32 +0200
    Re: Pasting photos in html emails knuttle <keith_nuttle@yahoo.com> - 2025-05-27 09:34 -0400
      Re: Pasting photos in html emails "Carlos E. R." <robin_listas@es.invalid> - 2025-05-27 16:07 +0200

csiph-web