Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
0.1
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

ja_browser_png

Portable Network Graphics (PNGs) is a highly compressed image format which has many advantages over other image formats such as being free from patents and very high quality. However Internet Explorer seems to give unexpected results after showing transparent PNG, which include a nasty dark background.

The ja_browser_png textpattern plugin is designed to display transparent PNG images in Internet Explorer as well as other browsers. To call the plugin simply use the ‘picture’ attribute to point to the transparent PNG image you wish to show, for example see below:

<txp:ja_browser_png picture=’/images/7.png’ />

This is my first ever plugin, hopefully the more I use this CMS, the more plugins I can provide and share :). You are very welcome to provide feedback and improvements over this plugin.

Article Request Count:
Keywords/tags:
Initially released:
2005-04-11
Posted here:
12 Apr 2005
Article modified:
04 Dec 2007

You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (1)

Hi Jaspaul,
very nice idea for a plugin. IE not showing transparent pngs is a nuissance.
The problem is, I can’t get your plugin working…
Can you give a more detailed example, where to use your tag exactly?

I’ve learned that your plugin delivers the pic as background-style (css) for capable browser, and going throuh some engine (i don’t have any glue of) for IE, showing the png with transparencies.

The problem is: The pic doesn’t show in Safari (capable of displaying transparent pngs),
and in IE it looks like an empty -Tag (it actually is).

Can you help?
Would change the way I apply css completely!
Ronen

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern