TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 07-27-2009, 07:46 AM   #1 (permalink)
The Acquainted
 
Hightower's Avatar
 
Join Date: May 2009
Location: Durham, UK
Posts: 134
Thanks: 9
Hightower is on a distinguished road
Default Ie6 Png

Hi folks,

I'm playing around with a new Joomla site for work but I'm having trouble with PNG images. The template shows fine in FF & IE7 but in IE6 most of the images don't display.

This is apparant that PNG images are causing the issue (or more so the bad coding of IE6) but I'm not sure how to fix the issue. I've tried the code suggested here: http://homepage.ntlworld.com/bobosola/pngfix.js

And I don't want to change the PNG to GIF/JPG, and I obviously can't expect users to upgrade to IE7 just for my site to display nicely.

Any ideas?
__________________
Hightower's Softpolio
Send a message via MSN to Hightower
Hightower is offline  
Reply With Quote
Old 07-27-2009, 08:47 AM   #2 (permalink)
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

Are we talking 24-bit PNG transparency problems here (the issue the script you posted will fix)? If so here's a CSS solution that I use:
http://www.komodomedia.com/blog/2007...ge-fix-for-ie/
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
Old 07-27-2009, 09:12 AM   #3 (permalink)
The Acquainted
 
Hightower's Avatar
 
Join Date: May 2009
Location: Durham, UK
Posts: 134
Thanks: 9
Hightower is on a distinguished road
Default

I'm not sure if it has anything to do with transparency.

The site is available at http://newsite.tanfield.durham.sch.uk

As you will see, IE6 displays completely different from IE7 and FF. I forgot to say the template for Joomla was made with software called Artisteer.

Not sure what the problem is though so any help.
__________________
Hightower's Softpolio
Send a message via MSN to Hightower
Hightower is offline  
Reply With Quote
Old 07-27-2009, 08:32 PM   #4 (permalink)
The Acquainted
 
wGEric's Avatar
 
Join Date: Nov 2007
Posts: 166
Thanks: 0
wGEric is on a distinguished road
Default

I didn't look at the page in IE6 but you do have some transparent PNGs which IE6 doesn't support.

Supersleight is a good method to solve that: http://24ways.org/code/supersleight-...persleight.zip
__________________
Eric
wGEric is offline  
Reply With Quote
Old 07-27-2009, 09:29 PM   #5 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

You could switch out the 24bit PNG images with 8bit PNGs for IE6 users. That's what I do for my websites.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 07-27-2009, 10:55 PM   #6 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

I use the twinhelix png fix, it's worked in every instance.

http://www.twinhelix.com/css/iepngfix/
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Old 07-28-2009, 04:44 AM   #7 (permalink)
The Acquainted
 
JaoudeStudios's Avatar
 
Join Date: Jul 2009
Location: Surrey
Posts: 105
Thanks: 1
JaoudeStudios is on a distinguished road
Default

IE8 is out now, IE6 is 2 major revisions out (many years!), do we will still need to support it? If we keep supporting it, users will still continue to use it!

My thoughts...
http://www.jaoudestudios.com/blog/details/id/6
__________________
JaoudeStudios.com | JaoudeStudios.com Forum | JaoudeStudios.com Blog
OpenSource is the road ahead...!
JaoudeStudios is offline  
Reply With Quote
Old 07-28-2009, 07:21 AM   #8 (permalink)
The Acquainted
 
Hightower's Avatar
 
Join Date: May 2009
Location: Durham, UK
Posts: 134
Thanks: 9
Hightower is on a distinguished road
Default

Quote:
Originally Posted by JaoudeStudios View Post
IE8 is out now, IE6 is 2 major revisions out (many years!), do we will still need to support it? If we keep supporting it, users will still continue to use it!
I understand what you are saying, but I don't want to be the one who says "upgrade or get out". It's a school website (as you can probably see) and I want as many people as possible to be able to use it without even having to think about upgrading.

I've tried all the fixes (TwinHelix, Supersleight etc) to no avail. I'm going to try swapping out the images for 8-bit PNGs as suggested, to see if that helps.

I'm not expecting it to be perfect in IE6, just usable.
__________________
Hightower's Softpolio
Send a message via MSN to Hightower
Hightower is offline  
Reply With Quote
Old 07-28-2009, 02:13 PM   #9 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Quote:
IE8 is out now, IE6 is 2 major revisions out (many years!), do we will still need to support it? If we keep supporting it, users will still continue to use it!
To just stop supporting IE6 at this point is just not a valid option. Most users have IE6 simply because they can't use anything else at work/school/whatever.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 07-28-2009, 02:42 PM   #10 (permalink)
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

Quote:
Originally Posted by ETbyrne View Post
To just stop supporting IE6 at this point is just not a valid option. Most users have IE6 simply because they can't use anything else at work/school/whatever.
Indeed, just look at this:
http://www.theregister.co.uk/2009/07/08/orange_and_ie6/

Just goes to show, the real culprit for IE6's slow and aggravating death is big business, who have cut corners by developing software exclusively for IE6.

Even the f***ing MoD (Ministry Of Defense, UK) for crying out loud:
http://www.theregister.co.uk/2009/07...wser_luddites/

Quote:
"Many civil servants use web browsers as a tool of their trade," he told GC News. "They're as important as pens and paper. So to force them to use the most decrepit browser in the world is a rare form of workplace cruelty that should be stopped."
Couldn't agree more, however the cruelty doesn't stop at the user as many of you who are designers will know all too well.

I suspect this kind of madness doesn't only exist in the UK.

Things like this make me wanna pull all my hair out! ARGH!!!
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
Old 03-04-2012, 10:24 AM   #11 (permalink)
The Wanderer
 
Join Date: Feb 2012
Location: China
Posts: 7
Thanks: 0
nasack is on a distinguished road
Default

If you need IE6 support transparent png image, You need to search IE6 Png
__________________
:-PWeb Design Guangzhou
:-PWeb Development
nasack is offline  
Reply With Quote
Old 07-31-2012, 04:32 AM   #12 (permalink)
The Visitor
 
Join Date: Jul 2012
Location: New York
Posts: 2
Thanks: 0
infoleather is on a distinguished road
Default

I did not see in IE6 page, but you have IE6 does not support transparent PNG,.When examining Retro leather shoulder bags at your nearby department, you are probably going to notice a large difference in Leather double handle briefcase.
__________________
Take full use of the experience about leather jacket mink collar will be helpful to gain knowledge about zipper front leather jacket and also similar

Last edited by infoleather : 08-04-2012 at 05:39 AM.
infoleather is offline  
Reply With Quote
Old 11-27-2012, 10:13 AM   #13 (permalink)
The Wanderer
 
Join Date: Nov 2012
Posts: 15
Thanks: 0
abbot is on a distinguished road
Default

I am working on joomla and have a 10 projects which is online. I am using more PNG images with it.
abbot is offline  
Reply With Quote
Old 03-07-2013, 09:00 AM   #14 (permalink)
The Wanderer
 
nancy30's Avatar
 
Join Date: Feb 2013
Location: London
Posts: 8
Thanks: 1
nancy30 is on a distinguished road
Default

Code:
* html img,
* html .png{
position:relative;
behavior: expression((this.runtimeStyle.behavior="none")&&(this.pngSet?this.pngSet=true:(this.nodeName == "IMG" && this.src.toLowerCase().indexOf('.png')>-1?(this.runtimeStyle.backgroundImage = "none",
this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
this.src = "transparent.gif"):(this.origBg = this.origBg? this.origBg :this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),
this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')",
this.runtimeStyle.backgroundImage = "none")),this.pngSet=true)
);
}
You should try this above code or check out the 24ways.org website which gives you the complete guide on how to over come the png image issue in ie6, I think ie 6 does not support png very well also, most of the users are now using ie7 or above.
nancy30 is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 12:26 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design