Home Video Tutorials Written Tutorials Template Tutorials
print

Replicant PNGfix

What is the PNGfix?

If you have ever opened a webpage with a transparent PNG in Internet Explorer 6, you will see an obvious problem. The images do not appear transparent but adopts a light blue background. which is unsightly to say the least. This is the purpose of the PNGfix, to allow transparent PNG images to work correctly in the web browser Internet Explorer 6. A common way around this is to use a range of different Joomla! extensions which can be applied to your site. However, this is already built in to new Rocket Theme templates.

Below is a list of all the Rocket Theme Templates which have the PNGfix, described above, incorporated into it. Also, all new templates releases will contain this as it has become an recurrent feature.

  1. Replicant
  2. Elemental
  3. Versatility III
  4. ColorMatic

However, the PNGfix causes problems with PNG images that have need been defined in respects to their replicant (width and height). The images then become bloated and look highly distorted. As always, there are simple methods around this.

Solutions for PNGfix issues

As illustrated earlier, undefined PNG images come into conflict with the PNGfix. There are a range of simple solutions to correct this problem In regards to the problematic Joomla! core extensions, there is a collection of altered files and images that are available here

How to remove the PNGfix

If you wish to remove the PNGfix from the template, you have to edit the index.php. Find and remove the following code:
img { behavior: url(<?php echo $this->baseurl ?>
/templates/<?php echo $this->template; ?>
/css/iepngfix.htc); }