On image pages, limit image width to $wgMaxImageWidth.
authorJens Frank <jeluf@users.mediawiki.org>
Tue, 17 Aug 2004 21:07:14 +0000 (21:07 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Tue, 17 Aug 2004 21:07:14 +0000 (21:07 +0000)
commit5f4b3ec0642d1b16524bd614b18a34ca1e6b086a
treec8bcda870c7bf33c236081087b478c8b67dde11b
parent42e0c8c5a1bd5084ede3ddb9889bab07252964f9
On image pages, limit image width to $wgMaxImageWidth.
If $wgUseImageResize is set, the image will be resized to fit this limit.
The resized image links to the big image.
Default for $wgMaxImageWidth is 800 pixels. Set to really big values (like 9999999) to disable.
includes/DefaultSettings.php
includes/ImagePage.php