[GH-ISSUE #28] Issue with images not embedded #9

Closed
opened 2026-02-27 20:30:46 +03:00 by kerem · 11 comments
Owner

Originally created by @Imaginos on GitHub (Jan 6, 2022).
Original GitHub issue: https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/issues/28

Originally assigned to: @Imaginos, @GruberMarkus on GitHub.

Hi Markus
Happy new year to you !

I discovered an issue with the signatures using the embedded image param at $false.
In Outlook 2013, the signature appears correctly, if I open the htm file, I can see the picture too.
Here's the issue :

  • If I send from Outlook 2013, the recipients won't see the image (whatever they are using Outlook, web Outlook or even Gmail)
  • If I send from the Web Outlook, it's OK

The issue appears event with the "Test all signature replacement variables.docx".

Originally created by @Imaginos on GitHub (Jan 6, 2022). Original GitHub issue: https://github.com/Set-OutlookSignatures/Set-OutlookSignatures/issues/28 Originally assigned to: @Imaginos, @GruberMarkus on GitHub. Hi Markus Happy new year to you ! I discovered an issue with the signatures using the embedded image param at $false. In Outlook 2013, the signature appears correctly, if I open the htm file, I can see the picture too. Here's the issue : - If I send from Outlook 2013, the recipients won't see the image (whatever they are using Outlook, web Outlook or even Gmail) - If I send from the Web Outlook, it's OK The issue appears event with the "Test all signature replacement variables.docx".
kerem 2026-02-27 20:30:46 +03:00
Author
Owner

@GruberMarkus commented on GitHub (Jan 6, 2022):

Hi Thomas,

Happy New Year!

please send me the resulting signature ("test all signature replacement variables.htm" and the subfolder "test all signature replacement variables.files").

Does it only happen with the "test all signature replacement variables" template, or with self-created templates containing images, too?

<!-- gh-comment-id:1006462932 --> @GruberMarkus commented on GitHub (Jan 6, 2022): Hi Thomas, Happy New Year! please send me the resulting signature ("test all signature replacement variables.htm" and the subfolder "test all signature replacement variables.files"). Does it only happen with the "test all signature replacement variables" template, or with self-created templates containing images, too?
Author
Owner

@Imaginos commented on GitHub (Jan 6, 2022):

test.htm.txt
Here's the file.

<!-- gh-comment-id:1006477165 --> @Imaginos commented on GitHub (Jan 6, 2022): [test.htm.txt](https://github.com/GruberMarkus/Set-OutlookSignatures/files/7821254/test.htm.txt) Here's the file.
Author
Owner

@GruberMarkus commented on GitHub (Jan 6, 2022):

I am missing the subfolder "test.files" containing the images.

Please also provide your source template file.

<!-- gh-comment-id:1006498004 --> @GruberMarkus commented on GitHub (Jan 6, 2022): I am missing the subfolder "test.files" containing the images. Please also provide your source template file.
Author
Owner

@Imaginos commented on GitHub (Jan 6, 2022):

test.zip
Here we go

<!-- gh-comment-id:1006557732 --> @Imaginos commented on GitHub (Jan 6, 2022): [test.zip](https://github.com/GruberMarkus/Set-OutlookSignatures/files/7821838/test.zip) Here we go
Author
Owner

@GruberMarkus commented on GitHub (Jan 6, 2022):

Bug confirmed. Not only Outlook 2013 shows this behavior, but also newer versions: Images are shown in preview, but not sent with the e-mail, so the recipient only sees placeholders.

I am analyzing the root cause, which will probably take some days.

Assuming you have a French Windows and Office: When you manually create a signature with a picture in Outlook, what is the name of the automatically created subfolder containing the images?

<!-- gh-comment-id:1006591324 --> @GruberMarkus commented on GitHub (Jan 6, 2022): Bug confirmed. Not only Outlook 2013 shows this behavior, but also newer versions: Images are shown in preview, but not sent with the e-mail, so the recipient only sees placeholders. I am analyzing the root cause, which will probably take some days. Assuming you have a French Windows and Office: When you manually create a signature with a picture in Outlook, what is the name of the automatically created subfolder containing the images?
Author
Owner

@Imaginos commented on GitHub (Jan 7, 2022):

Well the folder containing images for test.htm is named test.files, Signature.htm has Signature.files

But, with Signature.files, another folder is created : Signature_fichiers, that contains 3 files :

  • colorschememapping.xml
  • filelist.xml
  • themedata.thmx
    This folder is, of course copied in "My docs\Outlook signatures"
<!-- gh-comment-id:1007207298 --> @Imaginos commented on GitHub (Jan 7, 2022): Well the folder containing images for test.htm is named test.files, Signature.htm has Signature.files But, with Signature.files, another folder is created : Signature_fichiers, that contains 3 files : - colorschememapping.xml - filelist.xml - themedata.thmx This folder is, of course copied in "My docs\Outlook signatures"
Author
Owner

@GruberMarkus commented on GitHub (Jan 7, 2022):

Please perform the following steps and let me know the results:

  1. Close Outlook
  2. Create a new registry value "HKEY_CURRENT_USER\Software\Microsoft\Office<Outlook version>\Outlook\Options\Mail\Send Pictures With Document" (32 bit DWORD) and set it to 1
  3. Start Outlook
  4. Send a new e-mail and check if the recipient now sees the image(s) from your signature
<!-- gh-comment-id:1007269218 --> @GruberMarkus commented on GitHub (Jan 7, 2022): Please perform the following steps and let me know the results: 1. Close Outlook 2. Create a new registry value "HKEY_CURRENT_USER\Software\Microsoft\Office\<Outlook version>\Outlook\Options\Mail\Send Pictures With Document" (32 bit DWORD) and set it to 1 3. Start Outlook 4. Send a new e-mail and check if the recipient now sees the image(s) from your signature
Author
Owner

@Imaginos commented on GitHub (Jan 7, 2022):

Yes !
It worked with different clients as recipient (Outlook and Gmail).
in both case, the picture is OK !

<!-- gh-comment-id:1007273396 --> @Imaginos commented on GitHub (Jan 7, 2022): Yes ! It worked with different clients as recipient (Outlook and Gmail). in both case, the picture is OK !
Author
Owner

@GruberMarkus commented on GitHub (Jan 7, 2022):

Can i close this issue?

If yes, I will update Set-OutlookSignatures with an according hint to the registry key and the corresponding Microsoft support article.

<!-- gh-comment-id:1007275092 --> @GruberMarkus commented on GitHub (Jan 7, 2022): Can i close this issue? If yes, I will update Set-OutlookSignatures with an according hint to the registry key and the corresponding Microsoft support article.
Author
Owner

@Imaginos commented on GitHub (Jan 7, 2022):

That's OK for me :)

Thanks again, Markus !

<!-- gh-comment-id:1007312713 --> @Imaginos commented on GitHub (Jan 7, 2022): That's OK for me :) Thanks again, Markus !
Author
Owner

@GruberMarkus commented on GitHub (Jan 7, 2022):

@Imaginos, thank you for reporting this issue.

It is not a bug in Set-OutlokSignatures per se, but rather a default Outlook configuration that only has an effect when Set-OutlookSignatures' EmbedImagesInHTML parameter is set to false.

In commit e05341d643, the documentation for EmbedImagesInHTML has been updated with a link to the Microsoft support article https://support.microsoft.com/en-us/topic/inline-images-may-display-as-a-red-x-in-outlook-704ae8b5-b9b6-d784-2bdf-ffd96050dfd6 describing the problem and a solution.

This issue is closed as solved in accordance with the original creator @Imaginos.

<!-- gh-comment-id:1007551300 --> @GruberMarkus commented on GitHub (Jan 7, 2022): @Imaginos, thank you for reporting this issue. It is not a bug in Set-OutlokSignatures per se, but rather a default Outlook configuration that only has an effect when Set-OutlookSignatures' EmbedImagesInHTML parameter is set to false. In commit e05341d64368f554cfcb8cb370594e1075026f18, the documentation for EmbedImagesInHTML has been updated with a link to the Microsoft support article https://support.microsoft.com/en-us/topic/inline-images-may-display-as-a-red-x-in-outlook-704ae8b5-b9b6-d784-2bdf-ffd96050dfd6 describing the problem and a solution. This issue is closed as solved in accordance with the original creator @Imaginos.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Set-OutlookSignatures-Set-OutlookSignatures#9
No description provided.