Author Topic: How to embed images in email signature  (Read 28142 times)

Offline pixellady

  • Newbie
  • *
  • Posts: 2
How to embed images in email signature
« on: March 30, 2012, 09:11:51 AM »
Hi,
I am looking to embed images with links in email signature. Has anyone done that before? And, how would you do it?
Thanks!

Offline oldschool

  • Sr. Member
  • ****
  • Posts: 406
Re: How to embed images in email signature
« Reply #1 on: March 30, 2012, 10:58:21 AM »
You could try to make a template with base64 embedded graphx.


Greets.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: How to embed images in email signature
« Reply #2 on: March 30, 2012, 11:01:51 AM »
The best way IMHO is to put the images on a public server and link to them in your signature, otherwise every email you send out will be marked as having an attachment which I find annoying.

Offline oldschool

  • Sr. Member
  • ****
  • Posts: 406
Re: How to embed images in email signature
« Reply #3 on: March 30, 2012, 12:30:54 PM »
..., otherwise every email you send out will be marked as having an attachment which I find annoying.

Okay, i forgot to write in my case it'll be a html email and there won't be an attachement.


Rgds.
 

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: How to embed images in email signature
« Reply #4 on: March 30, 2012, 12:51:05 PM »
Okay, i forgot to write in my case it'll be a html email and there won't be an attachement.
I'd replied before I saw your post, and I agree that is another good way of doing it.

Offline oldschool

  • Sr. Member
  • ****
  • Posts: 406
Re: How to embed images in email signature
« Reply #5 on: March 30, 2012, 02:07:05 PM »
Thanks, SKaero!

 :)


Offline pixellady

  • Newbie
  • *
  • Posts: 2
Re: How to embed images in email signature
« Reply #6 on: March 30, 2012, 07:03:44 PM »
Thanks to you both. I ended up doing the html within the signature box. Everything saved and was linked correctly. When I sent my test email the images aren't showing up? Any ideas?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: How to embed images in email signature
« Reply #7 on: March 30, 2012, 11:34:39 PM »
Make sure you use absolute paths to the images.

Offline Peter1958

  • Newbie
  • *
  • Posts: 1
Re: How to embed images in email signature
« Reply #8 on: June 12, 2013, 05:54:42 AM »
I'm new and inexpert. I want to embed an image in the HTML signature without using a URL to server, otherwise most nervous mail programs don't display but prompt for permission to download the image. Embedding inline would place the image bytes in the mail, avoiding that problem at the cost of making the mails fatter. I can't see how to actually embed. Could I run an eg base64 conversion of the image and pour it into the signature's HTML? Feels like developer work to me. Thanks for any help.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: How to embed images in email signature
« Reply #9 on: June 12, 2013, 08:19:03 AM »
Just copy-paste the image file into editor. This will work in supported browsers e.g. Firefox.

Offline Chris7654

  • Newbie
  • *
  • Posts: 2
Re: How to embed images in email signature
« Reply #10 on: July 18, 2013, 06:14:29 AM »
I am still having a problem with this I have put the HTML in to the html box on the sig page. I am hosting the images on my web host and I have pointed  to them with full URL.

In the sample box on the signature page it looks perfect, but when I then open compose mail the images are not there and it has added a few -- marks around some text.  I can't see what I have done wrong.

Any help would be appreciated.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: How to embed images in email signature
« Reply #11 on: July 18, 2013, 11:21:58 AM »
Are you composing html emails or plain text emails?

Offline Chris7654

  • Newbie
  • *
  • Posts: 2
Re: How to embed images in email signature
« Reply #12 on: July 20, 2013, 03:32:45 AM »
Thanks for the reply, I think I you are right, I had not selected the HTML E-mail option now I have it works fine.

Offline Integraoligist

  • Newbie
  • *
  • Posts: 1
Re: How to embed images in email signature
« Reply #13 on: August 18, 2013, 09:02:14 AM »
Hi all, just found this thread... for some reason I'm not getting the image to show up... this is what I have done so far:
Preferences>Composing Messages>Compose HTML messages set to ALWAYS.
Identities>HTML Signature check marked.

HTML code I entered and tested was:
<img src=”http://myinfo.gif”>
<img src=”http://myinfo.gif” alt=”" />

Also, it likes to add -- above the signiture... is there a way to get rid of that? Because when I test it via my gmail account, the sig including the -- get truncated so you can see it.

Thanks all!

Offline seaq

  • Newbie
  • *
  • Posts: 1
Re: How to embed images in email signature
« Reply #14 on: January 11, 2014, 05:25:35 PM »
Hi, I was wondering if everyone is aware of the option to just copy the image signature in the email body??

Let me explain (with a caveat)

When I compose a new message, I can copy my image signature to the email just dragging the image or using ctrl+c and ctrl+v.  It gets appropriately encoded, however the email adds a html tag like this:

<img alt="" src="cid:837cce1b163ccad00851510c57b884c1@xxxxx.xxxx" />


I'd say that's a tiny bug easily solvable.

However, the ideal situation is just use the signature section from the identities tab.   Sadly it doesn't works using the same way, if I drag or copy the image into the signature box, the image gets incorrectly encoded when I click the save button.  It seems the newline characters damage the encoding.

Can be this fixed by the devs?

Thanks in advance