Jump to content

Handbuch:$wgMaxAnimatedGifArea

From mediawiki.org
This page is a translated version of the page Manual:$wgMaxAnimatedGifArea and the translation is 44% complete.
Vorschaubild-Einstellungen: $wgMaxAnimatedGifArea
Force thumbnailing of animated GIFs above this size to a single frame instead of an animated thumbnail.
Eingeführt in Version:1.14.0 (r42058)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Ganzzahl)
Standardwert:12500000 (1.39+)
1.25e7 (1.14-1.38)

Details

Animated GIFs where (width × height × number of frames) exceeds this limit will be thumbnailed to a single, static frame, instead of getting an animated thumbnail.

As of MW 1.17 this limit is checked against the total size of all frames in the animation. It is kept equal to $wgMaxImageArea , which is 12.5 million pixels or 3500×3500. In vorherigen Versionen war diese auf 1 Megapixel (1000x1000) eingestellt.

Erklärung

This means that with default configuration:

  • If an animation is more than 12.5 MP total (width × height × number of frames), you get a single frame when scaled.
  • If an animation is more than 12.5 MP per frame, you get the thumberror when scaling the image.
Many of these images which exceed this limit might appear animated on their image description page because they're displayed in their native size, instead of as a scaled thumbnail.

Warnmeldung

Files affected by this limit are labelled below the image with the contents of MediaWiki:File-no-thumb-animation-gif, which by default is "Hinweis: Aufgrund technischer Beschränkungen werden Vorschaubilder hochauflösender GIF-Dateien wie dieser nicht animiert.".

Siehe auch