Manual:$wgTiffThumbnailType
From MediaWiki.org
Thumbnail settings: $wgTiffThumbnailType | |
---|---|
Array of extension and mime type to transform TIFF images to. |
|
Introduced in version: | 1.15.0 (r48462) |
Removed in version: | still in use |
Allowed values: | Array with 2 entries |
Default value: | false |
Other settings: Alphabetical | By Function
Details [edit]
Array of extension and mime type to transform TIFF images to.
Browsers don't support TIFF inline generally, so images need to be transformed. Note scaling should work with ImageMagick, but may not with GD scaling.
Example [edit]
// PNG is lossless, but inefficient for photos $wgTiffThumbnailType = array( 'png', 'image/png' ); // JPEG is good for photos, but has no transparency support. Bad for diagrams. $wgTiffThumbnailType = array( 'jpg', 'image/jpeg' );
Language: | English • 日本語 |
---|