-----Ursprüngliche Nachricht----- Von: wikitech-l-bounces@wikimedia.org [mailto:wikitech-l-bounces@wikimedia.org] Im Auftrag von Rowan Collins Gesendet: Montag, 11. Oktober 2004 18:10 An: Wikimedia developers Betreff: Re: [Wikitech-l] Image:/Bild: malfunctions
On Mon, 11 Oct 2004 15:04:09 +0200, Arvalux arvalux@yahoo.de wrote:
Hello.
I installed WikiMedia at home.
I cannot include framed images by using "[[Bild:bildchen.png|framed|ein Bildchen...]]" (english:"[[Image:pic.png|frame|a picture...]]")
Due to the historical nature of the "extended image syntax", you need to set $wgUseImageResize=true; in your LocalSettings.php for any of these options to be available (even those that require no resizing, such as |frame| and |right|). Enabling this with no GD library or ImageMagick utility available will likely lead to errors if anyone uses |thumb| and/or |<NUM>px|; I don't *think* these have any security implications, but do not take this as any sort of guarantee. To avoid this, you could try commenting out the references to "$mwThumb" and "$mwWidth" in "includes/Skin.php"; again, I do not guarantee the effects of doing this.
Of course if you have, or can install, either a GD library or a standalone ImageMagick utility (for the latter, set $wgUseImageMagick=true; in LocalSettings.php) then setting this option should be completely safe, and will also allow the image resizing and thumbnailing facilities.
Once enabled, |frame|, |framed|, and even |enframed| should all be synonyms that create this behaviour.
This will probably be fixed in a future version; it is filed in our bugzilla at http://bugzilla.wikipedia.org/show_bug.cgi?id=178