Manual:$wgUseImageResize

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgUseImageResize and the translation is 21% complete.

Other languages:
English • ‎français • ‎日本語 • ‎polski
Images: $wgUseImageResize
Whether to enable dynamic server-side image resizing (thumbnailing)
導入されたバージョン: 1.2.0
除去されたバージョン: 使用中
可能な値: boolean
既定値: true
false (1.10.0 より前)
他の設定: アルファベット順 | 機能順

詳細[edit]

To disable dynamic server-side image resizing (thumbnails), set $wgUseImageResize to false.

This parameter requires a functioning version of PHP's GD library or ImageMagickManual:Image administration#Image thumbnailing to take effect.

It has no effect if no image processing tool is available or configured.

Enabling resizing may generate error messages on pages with thumbnails if these components are improperly configured.

If you use ImageMagick, set $wgUseImageMagickManual:$wgUseImageMagick to true in LocalSettings.php. Make sure the $wgImageMagickConvertCommandManual:$wgImageMagickConvertCommand variable points to the (absolute) location of the convert command of your installation and that the command is executable by the web server process.


MediaWiki バージョン: 1.10 – 1.14

This setting was deprecated in MediaWiki 1.10.0 and re-added in 1.15.0, it will not work in MediaWiki 1.11-1.14. In MW 1.10 and before, the default was false.

関連項目[edit]