but i 'm
not so good in pointer variable and how to follow to the
right function to change?
Like this:
class TiffHandler extends BitmapHandler {
function getThumbType( $ext, $mime ) {
return array( 'png', 'image/png' );
}
}
$wgMediaHandlers['image/tiff'] = 'TiffHandler';
Perhaps this could be called BitmapAsPngHanlder and be included in the core? It
could be used for any image format ImageMagic can deal with. Hm, since it can
(maybe) even work for stuff like PS and WMF, it could even be called
ImageAsPngHandler.
-- Daniel