VideoHive

Unit PNGFix

71 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Finland
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 10 000 and 50 000 dollars
kuimu says

I have a problem. With IE6 – suprise I know.

\\

I have used Unit PNGFix for this, but it display that little red icon and nasty borders around the transparent png image.

PNG is added to the html with img scr tag.
You can preview the site from here: Black Market.

So what I can do to fix this problem,
it drives me crazy and I’m so close to throw my laptop from the balcony.

Thanks and god bless me.

2529 posts
  • Attended a Community Meetup
  • Author had a Free File of the Month
  • Blog Editor
  • Bought between 50 and 99 items
  • Contributed a Tutorial to a Tuts+ Site
  • Envato Staff
  • Exclusive Author
+8 more
JeffreyWay moderator says
71 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Finland
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 10 000 and 50 000 dollars
kuimu says

Thanks Jeff, you’re faster than the answer machine!

684 posts
  • Author had a File in an Envato Bundle
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Croatia
  • Exclusive Author
  • Has been a member for 4-5 years
+3 more
segen says

kuimu have you uploaded the clear.gif image? It’s a transparent 1×1 px gif image.

71 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Finland
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 10 000 and 50 000 dollars
kuimu says

Yes I uploaded it and I don’t know why it doesn’t work.

I have moved the clear.gif from images folder to javascript folder, but without result.

I hope the path starts from javascript folder right?

Now I have the image in the same folder as the unitpngfix.js and the path is simply to clear.gif.

684 posts
  • Author had a File in an Envato Bundle
  • Bought between 10 and 49 items
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Croatia
  • Exclusive Author
  • Has been a member for 4-5 years
+3 more
segen says

I have it always inside the images folder, try putting it inside the images folder too, “images/clear.gif” and see what happens.

1965 posts Review Manager
  • Envato Staff
  • Has been a member for 4-5 years
  • Attended a Community Meetup
  • Australia
  • Beta Tester
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 5 000 and 10 000 dollars
+7 more
jremick staff says

I think there’s an easier way to fix transparent PNG issues that hasn’t really caught on much yet (unless there’s something I don’t know).

Save your transparent PNG as a PNG8 with alpha transparency from within Fireworks. IE6 will view the PNG with transparency without the need for a hack. :D

1965 posts Review Manager
  • Envato Staff
  • Has been a member for 4-5 years
  • Attended a Community Meetup
  • Australia
  • Beta Tester
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 5 000 and 10 000 dollars
+7 more
jremick staff says

Oh yeah, I should also mention that not only will you not need to hack IE6 to use transparency with PNG8 but the file size will actually be smaller than PNG24 as well. :)

71 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Finland
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 10 000 and 50 000 dollars
kuimu says

YES , it works now! I’m not sure what I did, but hell yeah it does work.

@xmdsys – Have to remember PNG8 at next time, now I’m just stoked that this works and I might get some sleep at some point. It’s 8 am.

951 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Netherlands
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
Daan says

The clear.gif is in the right folder, I checked.

Maybe you’ve changed the directory in the is file?

by
by
by
by
by