Changing the Signatures Embedded Image

I’m sure you would want to add your company logo to the Outlook signature. This post outlines the steps required to modify the master templates.

Browse to the location of the template files. In my test environment I store the master template on the netlogon share of my domain controllers so hopefully users will have a reasonably fast download speed. The signature script is also stored on the netlogon share so it sort of makes sense to keep them in the same network location.
Template folder

Open the sub folder within the main folder. In here you will see the example logo I have supplied with the script.

Sample Logo File

Notice the file is called image001.gif. This is the default naming used by Outlook so I’ve just stuck with that naming convention. Delete this file and replace it with a file of your choice using the same file name. I have added a different image as an example.

New logo image

There may be a limitation of the image file format you can use with Outlook. I have not done any testing of this so you may have to do some additional testing if you use a PNG or some other image format.

Open the HTM template (sig1.htm) in an RTF editor. I’m using Word 2007 in my example below. You’ll notice the signature place holders along with the new image.
New logo in Word 2007

Word 2010 may also work just as well but I did all my testing with Word 2007. If you do use Word 2010 please let me know if you came across any problems or not?

When using Word 2007 it should be noted that word will only add a link to the image file into the RTF rather than the actual image. My script currently expects the image to be embedded within the RTF file. To ensure the image is embeded you need to follow these simple steps:

  1. With your Word document open, click the Office button*, top-left of the window.
  2. Select Prepare > Edit Links to Files.
  3. Select and highlight the images you want to convert from the list.
  4. Select the option to Save picture in document.
  5. Click the Break Link button.
  6. Click Yes to confirm.

You will now need to save this updated template as Rich Text Format to replace the current RTF file within the signatures folder.

Save as RTF

Say yes to replace the existing file, which of course you backed up before starting this process.
File save warning

If you then go and browse to this updated RTF file and open it in word you should see the logo along with the original place holders still present.
RTF file in Word after update

If you re-run the signature script you should now see all the same user data along with the new image.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s