Tuesday, March 19, 2024

How to Fix the Gmail Email Signature Too Long Error Message (for Free!)

It took me some times to figure it out. So let me share with you my solution. I hope it will help!

Here is the signature I would like to create:


Creation of a signature in Gmail

Unfortunately, when I try to create it directly on GMail:
  1. Open your gmail account
  2. Click on the gear (top-right)

  3. Click on "See all settings" button
  4. Scroll down to the Signature section
  5. Click on "Create new" button to create a new signature
  6. Give a name to your signature

  7. Create your signature within the default editor
  8. Go to the bottom of the settings and try to save your signature, and you will get the famous message:
It comes from the size of my bitmaps which are directly embedded in the text making the size of the signature bigger than 10000 characters.

Fix the Email signature issue

My solution will consist in storing my bitmaps in my GDrive and reference then as we do in HTML.
  1. Go back to your signature and copy it
  2. Open the page https://wordhtml.com/
  3. Paste your signature in the Word section
  4. You will realise how big is actually you signature
  5. Delete the content of the src parameter in the <img> tag. Like that you keep at least the layout you decided
  6. Store your image(s) in your GDrive
  7. Share your image(s) with the rest of the world as Viewer only
  8. Copy the associated link
  9. Open https://www.labnol.org/embed/google/drive/ and paste the GDrive URL in the field
  10. Click on Generate Embed Code
  11. Copy the Direct Image link in your clipboard
  12. Paste it as the src parameter in the above HTML code

  13. The image will appear on the Word section
  14. Repeat the same process (#6 => #12) for each of your image to obtain the signature you are looking for
  15. Once you are all set, copy the signature from the Word section
  16. Go back to the Gmail setting and paste it as the new signature:
  17. Now, if you try to save your signature it should work!
Enjoy!