Tuesday 27 May 2008 1:59:19 pm
Piotrek: you were right, it just doesn't work :) But: It seems that eZGIF analyzer doesn't recognize properly GIF version. I just commented out line Match[is_animated]=1
and it works! Having the following settings:
[AnimatedGIF]
MIMEType=image/gif
#Match[is_animated]=1
OverrideMIMEType=animation/gif
#DisallowedFilters[]=*
AllowedFilters[]
AllowedFilters[]=flatten
i managed to have static GIF. Of course this way it also converts static GIFs uploaded, but - this is not a problem. This solution should be treated as workaround, because there is definitely sth wrong with eZGIFImageAnalyzer. If you want to completly disable GIF images, you can simply comment line #AllowedOutputFormat[]=image/gif
, but this won't protect from uploading GIF images (won't display any error, just won't display uploaded image). ( eZ Publish 4.0.0 / Ubuntu Hardy / ImageMagick ) Hope it helps this time :)
Baobaz
http://www.baobaz.com
|