User Name
Password
AppleNova Forums » Genius Bar »

PNG Transparency in IE-based email


Register Members List Calendar Search FAQ Posting Guidelines
PNG Transparency in IE-based email
Thread Tools
screensaver400
Veteran Member
 
Join Date: Jan 2005
 
2007-07-14, 21:14

I'm sending a newsletter using a mass email system (activate direct). The header is a PNG with transparency. It works fine in everything but IE (and outlook, etc., I'd assume)

I'm not exactly sure why, but the only way I can get the transparency to work properly is with Microsoft's solution linked to below. The other javascript and php-based solutions provided by a Google search don't work. Obviously Microsoft's ActiveX based solution won't work at all in Safari, Firefox, etc.

What I need is a way to selectively display the image in a normal way when the browser is Safari, Firefox, etc., but to use the ActiveX method when IE is detected. Is there a way to do this?

http://support.microsoft.com/kb/294714
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2007-07-14, 22:18

What version of IE? Ah, mass email.

IE6 simply doesn't support normal PNG transparency without running the AlphaImageLoader script mentioned in the page you linked to. That's one of the many reasons IE6 sucks. There's no way around this, I'm afraid.

IE7, on the other hand, should handle embedded PNG images with alpha just fine without any special code.

You could use this script in your code: http://homepage.ntlworld.com/bobosola/ This only runs if the browser is IE 5.5 or 6.

The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting.
  quote
screensaver400
Veteran Member
 
Join Date: Jan 2005
 
2007-07-15, 01:02

Ah, but that requires Javascript. Any email client that supports Javascript (already a fairly tall order, because of security concerns) ought to have it locked down, no?

I'm asking for a bit of a miracle, I know.

This option works in the Activate Direct (my web based mass email system) preview areas. Any php or javascript methods work in neither the email reader nor the activate direct preview window. However, this non-Javascript method doesn't seem to work in the Gmail web interface, although I've yet to try Outlook. If it doesn't work in Gmail web interface (on IE6, that is), it's still fairly worthless to me.
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
Thread Tools
Similar Threads
Thread Thread Starter Forum Replies Last Post
switching web hosts: avoiding lost email apple007 Genius Bar 5 2008-01-10 19:01
iPhone-How do I sync email between iPhone and Mac? RickR10 Apple Products 22 2007-07-05 11:38
.Mac, Mac Email and Online Photo Ordering steve77uk Apple Products 7 2007-01-05 12:30
PNG Transparency in Firefox elMediano Programmer's Nook 16 2006-03-14 13:11
PNG Transparency Problems in... Firefox? Yes. Brad Programmer's Nook 7 2005-08-01 12:33


« Previous Thread | Next Thread »

All times are GMT -5. The time now is 20:29.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2024, AppleNova