I've noticed tha Apolyton does not show .png images for IE, due to not having proper code for it.
Here, I've pasted a code for PNG image determination and proper display:
This should be somewhere the global values are defined, before construction of HTML code:
And this template should be used each time an uploaded image is displayed, replacing '/pic/mypicture.png' with the actual path to picture.
legend:
PNG here is the constant defined above which says whether you need to have filter for PNGs or you can go with [img] tag.
sizingMethod can have values"
Hope this gets implemented (shouldn't be much of work).
Here, I've pasted a code for PNG image determination and proper display:
This should be somewhere the global values are defined, before construction of HTML code:
Code:
define('PNG', is_integer(strpos($GLOBALS['HTTP_SERVER_VARS']['HTTP_USER_AGENT'],'MSIE')) && !is_integer(strpos($GLOBALS['HTTP_SERVER_VARS']['HTTP_USER_AGENT'],'Opera')));
Code:
[td style="' . (PNG ? ' filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=/pic/mypicture.png, sizingMethod=crop);' : '') . '"]' . (PNG ? '' : '[img src="/pic/mypicture.png" alt="" /]') . '[/td]
PNG here is the constant defined above which says whether you need to have filter for PNGs or you can go with [img] tag.
sizingMethod can have values"
Code:
crop Clips the image to fit the dimensions of the object. image Default. Enlarges or reduces the border of the object to fit the dimensions of the image. scale Stretches or shrinks the image to fill the borders of the object.
Comment