182 posts
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 100 and 199 users
  • Sold between 5 000 and 10 000 dollars
  • United States
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
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
+1 more
danharper says
530 posts
  • Bought between 100 and 499 items
  • Croatia
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
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
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 1 and 100 dollars
  • United States
parajuli says
182 posts
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 100 and 199 users
  • Sold between 5 000 and 10 000 dollars
  • United States
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
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 100 and 199 users
  • Sold between 5 000 and 10 000 dollars
  • United States
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
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 100 and 199 users
  • Sold between 5 000 and 10 000 dollars
  • United States
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 ?

530 posts
  • Bought between 100 and 499 items
  • Croatia
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
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
  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 100 and 199 users
  • Sold between 5 000 and 10 000 dollars
  • United States
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.

530 posts
  • Bought between 100 and 499 items
  • Croatia
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
darius9000 says

maybe.

by
by
by
by
by
by