From: Antoine Musso Date: Fri, 13 Jan 2012 22:09:11 +0000 (+0000) Subject: XCF: force rendering X-Git-Tag: 1.31.0-rc.0~25294 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=69d9c6a3d110eae7bd7221934170efea51a214ec;p=lhc%2Fweb%2Fwiklou.git XCF: force rendering Browsers do not support GIMP native format (yet?!). So we really need to force rendering. Noticed by Mark while testing the feature on labs. Follow r107351 --- diff --git a/includes/media/XCF.php b/includes/media/XCF.php index ff23334bd1..806db73cd7 100644 --- a/includes/media/XCF.php +++ b/includes/media/XCF.php @@ -19,6 +19,14 @@ */ class XCFHandler extends BitmapHandler { + /** + * @param $file + * @return bool + */ + function mustRender( $file ) { + return true; + } + /** * Render files as PNG *