Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: pixellady on March 30, 2012, 09:11:51 AM

Title: How to embed images in email signature
Post by: pixellady 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!
Title: Re: How to embed images in email signature
Post by: oldschool on March 30, 2012, 10:58:21 AM
You could try to make a template with base64 embedded graphx.


Greets.
Title: Re: How to embed images in email signature
Post by: SKaero 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.
Title: Re: How to embed images in email signature
Post by: oldschool on March 30, 2012, 12:30:54 PM
Quote from: SKaero on March 30, 2012, 11:01:51 AM
..., 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.
Title: Re: How to embed images in email signature
Post by: SKaero on March 30, 2012, 12:51:05 PM
Quote from: oldschool on March 30, 2012, 12:30:54 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.
Title: Re: How to embed images in email signature
Post by: oldschool on March 30, 2012, 02:07:05 PM
Thanks, SKaero!

:)

Title: Re: How to embed images in email signature
Post by: pixellady 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?
Title: Re: How to embed images in email signature
Post by: SKaero on March 30, 2012, 11:34:39 PM
Make sure you use absolute paths to the images.
Title: Re: How to embed images in email signature
Post by: Peter1958 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.
Title: Re: How to embed images in email signature
Post by: alec 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.
Title: Re: How to embed images in email signature
Post by: Chris7654 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.
Title: Re: How to embed images in email signature
Post by: SKaero on July 18, 2013, 11:21:58 AM
Are you composing html emails or plain text emails?
Title: Re: How to embed images in email signature
Post by: Chris7654 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.
Title: Re: How to embed images in email signature
Post by: Integraoligist 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!
Title: Re: How to embed images in email signature
Post by: seaq 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:[email protected]" />


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