Image Map Alt Value replaced

It is found that "alt" value of an Image map is replaced with a link(www.example.com/...click to follow link) after importing to Campaign Monitor, is there any way to get the "alt" value come up while mouse is over map area? thanks!

roshodgekiss roshodgekiss, 5 years ago

Hi gonnalinr, isn't that curious! I just looked at the code and indeed, it looks like the ALT is being replaced by the href value in some email clients like Apple Mail. In Gmail, the ALT shows up as expected.

We'll look into why this is happening, but in the interim, I'd encourage you to keep adding filling in the ALTs while we determine whether this is specific to some email clients, or something on our end.

Note that image maps don't work in many email clients, so we'd certainly recommend an alternative approach.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
gonnalinr, 5 years ago

Actually what i meant is "title" attribute of img, but it seems both "alt" and "title"( a hyperlink adding to that image) would be replaced by links generated by Campaign monitor if you viewed it in outlook 2010, have not try in hotmail/Gmail, should be the same i guess.
Additional question: If i want a prompt window saying "click here" or something else appear while moving mouse over image hotspot area, any way to do that and Campaign Monitor won't  break it down?? Thanks.

roshodgekiss roshodgekiss, 5 years ago

Hi gonnalinr, ah, this I can see - I've had a look at the source code in an email with image map and it looks like the ALT/title isn't being replaced on import by Campaign Monitor, it's just that Apple Mail and Outlook 2007 choose to display the hotspot URL instead. This isn't at all consistent with how title attributes work on the web, so I guess it's just something these email clients choose to do.

Even if you send an email in which the links aren't replaced by our tracking links, I suspect the result would be exactly the same (you can test by using cm_dontconvertlink).

If i want a prompt window saying "click here" or something else appear while moving mouse over image hotspot area, any way to do that

At present, I don't know of a way to override this behaviour. I tested using individual images in an email, but Apple Mail still displays the URL, instead of the title="". As you can't use Javascript in email, there isn't a way to force any of these clients to display the title, instead of URL, using the title label or otherwise.

Thanks again gonnalinr - I'll certainly let you know if I find a workaround, but at present, it looks like it's something specific to these email clients and not linked to how our app parses links on import.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098