Placed in: Home arrow Useful arrow How to arrow HTML and images in your Gmail message
HTML and images in your Gmail message

Google's mailing service (Gmail) has a build in rich text formatter. The options of this text formatter are restricted. You can't add tables or images to your email.

HTML and images in Gmail

In this article I'll explain how you can add such images, tables etc. to your Gmail message. This way, you can give more attention to your email, making it better to read or to promote something. You simply have to add HTML to your email.

To get this effect, you'll only need any kind of WYSIWYG HTML editor. Examples of this can be Dreamwaever or Frontpage. Also online editors will work, like DevEdit, Google Pages or any other you can find. In this example, I'll be using online-html-editor.org.

Before we start, I recommend you to read A Guide to CSS Support in Email. As you can see, Gmail doesn't support a lot of CSS. So, if you want to make sure that this will work, exclude as much CSS as possible, making only use of HTML. Don't use "spacing", "margin" etc.

  1. First, make your email as you want it to look like. Now add your image to the editor by pressing the Image button. A new window will appear with several options. In the Source: field, enter the URL of your image. If you don't have a webhost on your own, you can use ImageShack to upload your images for free. Additionally, you can add a Title. Let the rest be as it is, only change the Border Style to "No Border" if you're going to use the image as an URL. Now press Insert to insert the image to your message.
    Gmail & HTML - Screen 1
  2. Now you can make a link from your image. Select the image (or text if you want to link it to another page) and press Hyperlink. This will also open up a new window where you can set some values. Set the Source to the page you want to link to. Set the Target to Blank. This will cause to open the URL in a new windows. You can also change the Title of the link. Press Insert if you want to embed the URL to your message.
    Gmail & HTML - Screen 2
  3. When you're all done with your email, select it all (Ctrl+A). Now Copy you message (Ctrl+C). Go to Gmail and compose a new message. Make sure you have Rich Formatting set to On. Now Paste (Ctrl+V) your message in the message box of Gmail. Now you should have your image in your Gmail with a URL to your website. You can check if your URL is working by holding "Ctrl" and clicking on the link.
    Gmail & HTML - Screen 3

There you have it, your own image in a Gmail message. Experiment on your own on what options are possible.

I want HTML in my signature

Even if your message can contain HTML, the standard signature doesn't allow rich formatting, therefore you can't "Copy-Paste" your HTML code there. Also, it's a lot of work copy-pasting your HTML signature in every email that you send.

There is a little workaround for this one, you'll just need Firefox as your browser and install the Better Gmail Add-on. This add-on has a lot of features, making it a really cool plugin.

When installed, go to Extra... > Better Gmail in Firefox. Go to the tab Compose and set Signature Settings: Float/HTML/No dashes on. Now press Ok to save the changes.

  1. Go to your favorite WYSIWYG editor and create your signature. I made one with a link to the RSS Feed of my website. Depending on your editor, you'll need to get the plain HTML code. On online-html-editor.org, you'll need to go to Save file now and open the downloaded file with Notepad. Select all the code between <body> and </body> and Copy (Ctrl+C) it. Make sure no style / span attributes are in your code.
    Gmail & HTML - Screen 4
  2. Now go to Settings on your Gmail page. Select the tab General and scroll down to Signature. Set the radio button from "No signature" to the radio button before the empty text field. If you have Better Gmail correctly installed, you should have the three checkboxes. Make sure you have the checkbox before Allow HTML in Signature set to On. Now paste (Ctrl+V) your code from the previous step in the signature text box. Scroll down and press Save changes to save. When now creating a new email, you should have a nice looking signature with HTML format.
    Gmail & HTML - Screen 5

Enjoy this knowledge. Cheer up your Gmail messages and promote your site or anything else more effective this way. Take a look at a complete list of HTML tags to make even cooler messages. Also take note of the possibility that the receiver of the message doesn't find the images / colors nice or cool, but finds it rather annoying. Don't overdue it.


Tags:  gmail useful how to email signature

Interested in this topic? You might enjoy another article I've written called

Did you like this article? Subscribe to my feed or email to keep updated on new articles.

Spread the word and submit to:
Digg!Reddit!Del.icio.us!Facebook!StumbleUpon!
Comments
Add NewSearchRSS
Gerard Espinas   2008-08-17 14:17:50
Gravatar image I just switch to gmail account and having difficulty in making html email signature until I saw your article. Thanks a lot!
Mitrabhanu   2009-02-06 16:07:37
Gravatar image Thnks for nice and useful post. I must use these tips to solve my html signature problem in gmail. Really this post is very innovative and informative. But the link to the firefox addon is not working and showing a 404 error page. How ever i found the url of that addon page which is " https://addons.mozilla.org/en-US/firefox/addon/4866 ".

Thanks
Syed - doesn't work for me   2009-03-02 15:00:15
Gravatar image Hi there, This sounded so lovely but I guess Google has changed the code. The add-on has also been updated. I tried this suggested one as well as Better Gmail2 but the rich text option does not show for signatures. Any suggestions?
anmari - fatal error   2009-03-12 00:44:39
Gravatar image hey marco,
I tried to click on your "60 useful items...." link at the bottom of this page and got this message:

Fatal error: Out of memory (allocated 5767168) (tried to allocate 88147 bytes) in /customers/marcofolio.net/marcofolio.net/httpd.www/mambots/content/socialbookmarkerbot.php on line 837
Akash - Not able to find such options   2009-03-18 08:08:19
Gravatar image hi,
I tried the same procedure what you have written but i could not find the options that you mentioned in extra compose .

Please advice..
Paul   2009-04-23 21:08:50
Gravatar image I too couldn't find the options you mentioned. Google must have changed their code.
Hesho   2009-04-24 00:08:43
Gravatar image :angry: :!: Please try to give me the steps in more straight forward and clear.
I had tried the predescroped stpes in order to make an image is my signature
1- I had uploaded the image into savefile.com
2-I had add the better gmail addon to my Firefox version 3.3
3-I had received an error from the fire fox but I chechked the bix to enable status in the compose tab in the tools dropmenu then go to better gamail then go to compose tab and check the signature setting
4- I had use the online-Html-editor.org as your mentioned
5- When I press on the image icon in the html editor, there is a pop up menu requires the address so I past the savefile link and then press on the save icon and there is a downloaded file .dat
6-I opened that .dat file by the notepad and copy all of its contents in the signature field in the settings of the general tab from the settings of my gmail account.
:woohoo: 7 BUT INVAIN
:whistle: 8 I am waiting for your comment
Marco - No ".dat"   2009-04-24 07:03:45
Gravatar image In step 5, you don't need to "save" anything (so you don't get the ".dat" file).

Simply, IN the editor, copy all the contents (by making sure the editor field is selected, go to "ctrl+a" > "ctrl+c" (copy)). Then in GMail, paste all the contents ("ctrl+v";).

Good luck!
Darius - Add image to body of letters   2009-10-21 14:35:26
Gravatar image go to Settings > Labs > Inserting images
Shannon   2009-11-23 17:48:33
Gravatar image I know this sounds stupid but I can't find the "extra" button/tab per your directions (go to Extra... > Better Gmail in Firefox.). I am using Mozilla Firefox 3.5.5. Your directions are awesome I just can seem to get started. Thanks for any help!
Anonymous   2010-01-20 05:23:50
Gravatar image how can i format the signature in my gmail.
People Finder   2010-01-23 05:57:17
Gravatar image Shannon, you're not alone, I couldn't find the "extra" button or tab either. I think they changed the add-on now it's Better Gmail 2 and that no longer exists, I could be wrong but I gave up. I found a better solution called "wisestamp" - http://www.wisestamp.com
Ritchie Moris Paler - mochiesig   2010-03-26 09:12:22
Gravatar image Ritchie Moris Paler
I.T Support

Posted image

Posted image

[color=gray]Smart Digital Online Ltd
Unit 9A
Great Western Railway Yard
St. Agnes
Truro
TR5 0PD[/color]
Jorgen Sundberg   2010-10-12 08:26:53
Gravatar image Many thanks for the instructions, it all works very well now!
rubem linn - gmail seems to strip out the SRC on the IMG tag   2010-10-28 03:19:51
Gravatar image Thanks for the article.

I did all the steps and copied over the html formated into the gmail signature, but when I open the new email window, all images are stripped out. Looking at the source code, I noticed the SRC attribute was missing on the IMG tags.

Any thoughts?

Many thanks.
xavier - SPAM detected   2010-11-04 16:10:04
Gravatar image I try this method and works fine, but many mail servers or mail clients detect my mails as SPAM just because contains images from Imageshack... :(
Sonia - walking tours in Calcutta,India.   2010-12-08 06:37:27
Gravatar image I was finding it very difficult to add my signature logo to my email, this was very helpful. keep up the good work going. Thanks a lot...
pandu   2011-02-04 03:12:25
Gravatar image Hai ra
silvie   2011-03-13 14:06:22
Gravatar image Thanks so much! I followed your instructions and succeeded in setting up my signature! :)
Anonymous   2011-04-19 21:19:20
Gravatar image JAHANZAIB MUGHAL
KHAN - jahanzaib   2011-04-19 21:21:51
Gravatar image JAHANZAIB
KHAN - SALAM   2011-04-19 21:24:11
Gravatar image JAHANZAIB
KHAN - re: SALAM   2011-04-19 21:25:03
Gravatar image
KHAN wrote:
JAHANZAIB
Yogesh mathur   2011-06-15 06:36:31
Gravatar image Posted image
Anonymous   2011-08-10 09:12:00
Gravatar image Ray Ban Wayfarer are made from unique,ray ban breakthrough materials and technologies. Over the years,Ray Ban Sunglasses eyewear products from oakley have been enjoyed by a wide variety of women and men who like adventure activities,ray ban rb because of their incomparable design and quality.There are many activities that can benefit from wearing Ray Ban Wayfarer , including bmx biking,ray ban glasses snowboarding, golf, motor sports and so forth. Using oakley sports eyewear,ray ban sales athletes are able to withstand the harshest environments and gain the best clarity possible. Ray Ban Wayfarer come in both prescription and non-prescription types. In particular, oakley prescription lenses are made from oakley
yjujff   2011-08-10 09:12:19
Gravatar image All Ray Ban Wayfarer must pass two strict tests before being ready for sale.ray ban They come in a range of colours, polarization options and performance coatings.ray ban sunglasses Section contains plastic, metal, polarized and transitions styles .best ray ban sunglasses Ray Ban Wayfarer are by far and away the most recognised brand of high performance sports glasses.discount ray ban sunglasses of oakley glasses products that incorporate the latest in mp3 technology, such as the split thump model of oakley sunglasses.They come in many different styles to choose from,ray ban wayfarer each one as beautiful and as prestigious as the next.Oakley glasses are in fashion because it has more functionality and style in one package.ray ban 2140 Ray Ban Wayfarer are stylish and fused with perfect optics to protect the eyes from potential hazards.The corrective lenses map light rays in a 3d grid to accurately match the optics to your prescription, maximising your vision at every possible angle.There are several models of oakley glasses to chose from, no matter how expensive you invest in them,ray ban 2132 oakley sunglasses are certainly a high quality and provide excellent protection for your eyes.These sunglasses are in style for comfort and functionality.
longyuelt   2011-08-10 09:12:38
Gravatar image Ray-Ban cheap sunglasses are one of the most iconic makes inside eyewear industry along with favoured for his or her timelessly classy sun glasses that never are not able to search quickly classy as well as on development.Ray Bans The brand can be a choice of many superstars along with manner designs and the numerous types tend to be persistently creating looks with summer season audio celebrations along with seen occasions.Wayfarer Ray Ban Ray-Ban grew to be incredibly popular through the 50s along with being featured in a wide array of smash hit movies simply aided to make a further hype.Ray Ban Sun Glasses Considering that the early 50
Anonymous   2011-09-03 13:42:15
Gravatar image


email_temp

{
margin-bottom:0px;
margin-left:0px;
margin-right:0px;
margin-top:0px;
}
.link_a{
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
font-style:normal;
font-weight:bold;
color:#FFF;
text-decoration:none;
}
.link_a:hover{
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
font-style:normal;
font-weight:bold;
color:#F00;
text-decoration:none;
}




















 
Click More Details


 



Gilles - ...and with animated gif ?   2011-10-11 03:07:34
Gravatar image OK...
But how to add an animated GIF to my email?
Thanks +++
sunshine   2012-02-22 03:56:42
Gravatar image This still works for loading images into gmail and saved me from banging my head into a wall. I didn't use the free editor but just uploaded the image to my blog, made a blog post exactly how I wanted my email to appear in gmail and copied and pasted the blog post from the preview post screen into my gmail compose area.
sunshine   2012-02-22 03:58:04
Gravatar image I forgot to say thanks a million :!:
Thanh Tung - HTML email template for Gmail   2012-02-29 03:20:04
Gravatar image Hi Gru,

Our startup has come to existence, so we want to publicize our internet marketing services. We tried to create HTML email sent to potential customers. But, one technical issues that Gmail blocks image auto-loading & when it loads, it also load images as file attachments. Give us a hand ?
abdulubed - hai   2012-03-05 13:25:19
Gravatar image hai how are you
Gucci Belts - Gucci Belts   2012-06-15 07:51:26
Gravatar image Although the German venture was scuttled shortly after its inception .
cheap griffeys - cheap griffeys   2012-10-20 06:36:33
Gravatar image We are interested in shoes right
cheap griffeys - cheap griffeys   2012-10-20 06:37:33
Gravatar image We are interested in shoes right
cheap griffeys - cheap griffeys   2012-10-20 06:38:42
Gravatar image We are interested in shoes right
Delight Designs - link for image in particular place   2013-04-20 12:07:22
Gravatar image Hello.
I would like to add a link on image in particular place in gmail compose, I dont want to have link for whole image

Thank you
Read more...
Name:
Email:
  Gravatar enabled.
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Security Image
Please input the anti-spam code that you can read in the image.
Unsubscribe from e-mail notifications.
 
< Prev   Next >
Subscribe

Subscribe to Marcofolio