In that case, it seems to be an IE problem, since once thumbnailed and resized it behaves pretty much like a resized gif-file - except it works. With .gif's I get the pink color and no transparency, when resized or thumbnailed, but they work and get transparent when in their original size.
It doesn't look pretty, but it can be resized and transparency retained. A better solution than uploading several different'sized gif's, although they would probably be prettier.
Thanx for your replies, Morten :-)
-- Crews Cut Production Morten Blaabjerg Danmarksgade 97 - DK-5000 Odense C Tlf. 65 90 60 88 / 51 80 91 55 morten@crewscut.com
----- Original Message ----- From: "Rowan Collins" rowan.collins@gmail.com To: "MediaWiki announcements and site admin list" mediawiki-l@wikimedia.org Sent: Thursday, August 18, 2005 12:26 AM Subject: Re: [Mediawiki-l] Transparency of uploaded PNG images?
On 17/08/05, Morten Blaabjerg morten@crewscut.com wrote:
Why won't MediaWiki apparently accept the transparency of uploaded .PNG images?
The transparency area is transformed to a solid grey or pinkish color :-(
When is this transformation taking place? I can think of two places it might be: * when a thumbnail is generated (either for use on the description page of a large image, or when including an image in an article with |thumb| or |##px|); in which case, the problem is presumably with the GD library (since you say you're not using ImageMagick). I'm afraid I know nothing about this, so can go no further than this vague diagnosis.
* on display in Internet Explorer, which can't cope with alpha-layer transparency in PNGs, much to everyone's annoyance; this has nothing to do with the image being uploaded to MediaWiki, but if you didn't know this you might never have tested your PNGs in IE until you uploaded them. There's not a lot to be done about this - you can edit the PNGs to only have palette transparency (like a GIF; can be rather ugly) or you can try and use the ActiveX filter hack that's used in the logo (see skins/common/wikibits.js, I think; can annoy users with restrictive ActiveX permissions)