0

I have a scenario where I want to check whether the alt-text of image, added on mail, is shown correctly while sending a mail or not. To test this, we added an img tag in mail but gave nothing in src and added an alt-text. Now the problem is that the outlook-2010, instead of showing the alt-text, shows its own message "the linked image cannot be displayed.....". How can we avert this message to check our alt-text. Is there a better way to test such scenario in outlook-2010.

Ross Cooper
  • 245
  • 2
  • 10
  • 20

2 Answers2

0

You can't control such things. You have control over an alt text styling (in some cases), but some mail clients will do whatever they want with your html and inline styles.

The only solution is to make sure your mail can be read without images, like adding a text close to the image. Most of the time, my templates have both the image and the text close to one another.

R Lacorne
  • 604
  • 5
  • 10
  • All I want is to test my image alternate-text in outlook. That's what the scenario is. :( – Ross Cooper Nov 05 '13 at 06:33
  • Well since outlook won't display image alts anyway, I suggest you test those elsewhere. What I usually do is that I set firefox to not display images and test the html there. Of course it'll degrade depending of what mail client receives it, but it gives a good idea of how some mail clients will display the image alts. :) – R Lacorne Nov 05 '13 at 14:29
0

Test in Gmail (or Yahoo or anything else) instead. Outlook won't show ALT text. Here is some reference to which clients support displaying ALT text

John
  • 11,985
  • 3
  • 45
  • 60