182 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
+2 more
SuperFlash says

Hi,

I need some help to fix the transparency of png file integrated in html page. PNG files are the good format to keep transparency but with internet explorer 6 and maby with other browsers the PNG will not keep a nice transparency. I would like to know if someone can help me out to find how I can keep a nice transparency with PNG images on all browsers like Firefox, Internet explorer, Safari, Opera and Konqueror of all versions.

I guess I have to put a javascript code or add something in my page to fix this issue.

Thanks for your help in advance. I like Flashden community because many people are ready to help others :)

352 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 50+ members
  • Has sold $10,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+6 more
danharper says
536 posts
  • Has referred 50+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Located in Croatia
+2 more
darius9000 says

this might help you a lot. actually this is it! it’s celan, simple and works both for images and background images.

http://labs.unitinteractive.com/unitpngfix.php

204 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $1+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
parajuli says
182 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
+2 more
SuperFlash says

I have tried with unitpngfix but when i test my page with IETester the image doesn’t appear and the path to the js file is good and also the path to the clear.gif in the script.

I have put this code in the header of my page

<!—[if IE 6 ]> <![endif]—>

Someone can help you ? Do I have to put some other code to make this work ?

182 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
+2 more
SuperFlash says

My png image is inserted in a img tag with a src, do I have to insert the image into a div or call a function or something ?

182 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
+2 more
SuperFlash says

I have also tested this template on FD with IETester and the logo doesn’t appear.

http://themeforest.net/item/themeplit/32931

Someone can help ?

536 posts
  • Has referred 50+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Located in Croatia
+2 more
darius9000 says

you obviously didn’t pay attention to this:

Next, add “clear.gif” to your images folder, and open unitpngfix.js. On the first line, make sure that the path correctly points to “clear.gif” [relative to the root, not the script folder].

it’s relative to ROOT , not the script folder. so if your image is in “root:images” folder, put:

var clear=”images/clear.gif”

182 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 50+ items on Envato Market
+2 more
SuperFlash says

darius9000 : Yes I did that and it’s all ok.

I dunno why the images don’t show maby because I test with IETester and it doesn’t work with this tester.

536 posts
  • Has referred 50+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Located in Croatia
+2 more
darius9000 says

maybe.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by