Last modified: 2012-09-07 11:08:56 UTC
Upload animated gif. Insert image in wiki page i.e. [[File:my_animated.gif|border|260px|right]] Animation does not work when page is viewed. ImageMagick is installed and correctly configured in LocalSettings.php: $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert"; The version is ImageMagick 6.2.8 04/17/08 Q16 so it seems to be up-to-date. related to bug #1017 https://bugzilla.wikimedia.org/show_bug.cgi?id=1017
Created attachment 6221 [details] sample animated gif Resized versions of this animated gif works on wikipedia but not on my mediawiki installation.
Check that the value of $wgMaxAnimatedGifArea is large enough.
Thanks, but it does not have any effect. Is was not in LocalSettings.php so I added $wgMaxAnimatedGifArea = "1.0e9"; (far above the default) but this does not resolve the problem. As far as I can tell, my web host has not killed any processes so it must not be a resource problem.
dify, are you still experiencing this problem in more recent versions of MediaWiki and Firefox?
I can confirm this as a problem on test2. The full-resolution version of the animated file animates, but the preview does not and the other resolution/size versions do not.
The GIF is bigger than wgMaxAnimatedGifArea (at least on test2) and thus is not thumbnailed. It might be that the thumbs that were observed to be animating on wikipedia as mentioned in comment 1, were generated before wgMaxAnimatedGifArea was introduced. Works as intended for me. Note that in comment 3, the user set a string. The expected value is however a number, so: $wgMaxAnimatedGifArea = 1.0e9; instead of $wgMaxAnimatedGifArea = "1.0e9";