Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Images (still) not showing in signature using an html file

  • 2 件の返信
  • 0 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: pduclos

more options

I'm using an html file for a signature using local images with links associated to the images and so when I write a message I don't see the images nor the links (if I hover over them), just placeholder boxes the size of the dimensions I specified for each img. Now I'm not a seasoned frontend dev, but I have made a few websites already and know how html+css works and if I don't know I'll check the developer.mozilla.org site (among others).

If I send myself a test message, when I open it I see only the image placeholders, although the corresponding links are there (the cursor changes and I see the link on the bottom).

Yes the html file works since it displays fine in any browser and in TB my message view is set to both html and text. I thought it might have been the Environment Path variable that didn't include the image file path (made no difference). I also put an exception in the Mail Content section in the Privacy and Security settings (made no difference). So it doesn't matter if I use a file (via the global settings) or if I use a signature plugin (Signature Switch). I know browsers are pretty forgiving, but if the html was really the problem I'd see it (and VS Code would also probably let me know if something was incorrect). And the Signature Switch plugin uses just the bit of code within the body tag, no need to include the header that's in the html file.

I've seen many bug reports on this subject that are either archived or set as "solved", but it doesn't appear to be really "solved"! Oh and my TB is on auto update and I'm on Win10. The only thing I can add is that in the preview pane in Windows Explorer, when I click on the html file, the images are also shown as placeholders and on top of the pane there's a message saying the images have been blocked...so I don't know if it's a Windoze thing only or not.

I'm using an html file for a signature using local images with links associated to the images and so when I write a message I don't see the images nor the links (if I hover over them), just placeholder boxes the size of the dimensions I specified for each img. Now I'm not a seasoned frontend dev, but I have made a few websites already and know how html+css works and if I don't know I'll check the developer.mozilla.org site (among others). If I send myself a test message, when I open it I see only the image placeholders, although the corresponding links are there (the cursor changes and I see the link on the bottom). Yes the html file works since it displays fine in any browser and in TB my message view is set to both html and text. I thought it might have been the Environment Path variable that didn't include the image file path (made no difference). I also put an exception in the Mail Content section in the Privacy and Security settings (made no difference). So it doesn't matter if I use a file (via the global settings) or if I use a signature plugin (Signature Switch). I know browsers are pretty forgiving, but if the html was really the problem I'd see it (and VS Code would also probably let me know if something was incorrect). And the Signature Switch plugin uses just the bit of code within the body tag, no need to include the header that's in the html file. I've seen many bug reports on this subject that are either archived or set as "''solved''", but it doesn't appear to be really "solved"! Oh and my TB is on auto update and I'm on Win10. The only thing I can add is that in the preview pane in Windows Explorer, when I click on the html file, the images are also shown as placeholders and on top of the pane there's a message saying the images have been blocked...so I don't know if it's a Windoze thing only or not.

すべての返信 (2)

more options

Any chance of posting an image of the HTML of the sig? If it may help, send me a sample message to davidthunderbird at gmx dot com

more options

Well like I wrote, the images are local so normally it should work, but since TB seems to use deprecated html tags and especially doesn't allow "external" content to be loaded... I say deprecated because when you look in the html that TB generates there are tags that have been officially deprecated for a while, but TB continues to generate them...

I've seen a Lifewire article that showed how to add images in a signature in TB and so I've made a bogus message and added the content I needed with the links and saved that as an html file and used THAT file as my signature and now it works. It's just that my previous html5 signature file (which any relatively up to date browser can open just fine) was about 2kb in size, but the one I made in TB is around 23kb. That's because the images are written IN the html instead of being externally linked. Because of that care must be taken if there are alot of replies as this would potentially make for bigger and bigger messages being sent back and forth. It's not ideal, but it works.

I'm just surprised that this "solution" isn't mentioned more often in a bunch of other similar posts, it would save time and frustration. I would also suggest that TBird's html generator be updated to today's standards.