Handbuch:$wgTiffThumbnailType

This page is a translated version of the page Manual:$wgTiffThumbnailType and the translation is 42% complete.
Vorschaubild-Einstellungen: $wgTiffThumbnailType
The format and MIME type to convert TIFF images to.
Eingeführt in Version:1.15.0 (r48462)
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(Array mit 2 Einträgen)
Standardwert:[] (1.34+)
false (1.15-1.33)

Details

Array of file extension and MIME type to convert TIFF images to when sending them for inline display in web pages. By default, this is false, meaning this conversion does not occur.

Browsers don't support TIFF inline generally, so images need to be converted to an alternate format. Note scaling should work with ImageMagick, but may not with GD scaling.

Beispiele

// PNG is lossless, but inefficient for photos
$wgTiffThumbnailType = array( 'png', 'image/png' );

// JPEG is good for photos, but has no transparency support. Schlecht für Diagramme.
$wgTiffThumbnailType = array( 'jpg', 'image/jpeg' );