Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

image.ini [AnimatedGIF]

The settings of [AnimatedGIF] in image.ini: MIMEType, Match, OverrideMIMEType, DisallowedFilters, ExtraFilters

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/image/AnimatedGIF.md

On this page

image.ini [AnimatedGIF]

The block [AnimatedGIF] of settings/image.ini, with 5 setting(s).

Fallback if jpeg is disabled as output.
ConversionRules[]=image/jpeg;image/png
Override for animated GIFs, this is needed to properly
handle image/gif files with multiple image frames.
It will turn off any geometry filters to leave the images untouched.

Never edit settings/image.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/image.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/image.ini.append.php for one siteaccess,
  • extension/<extension>/settings/image.ini.append.php in an extension (read when the extension is active).

MIMEType

The MIME type which this override works on

Default: image/gif.

<?php /* #?ini charset="utf-8"?
# settings/override/image.ini.append.php
[AnimatedGIF]
MIMEType=image/gif
*/ ?>

Match

A list of matches that needs to be satisified for this override to be used

Default: a hash of 1: is_animated=1.

<?php /* #?ini charset="utf-8"?
# settings/override/image.ini.append.php
[AnimatedGIF]
# an empty "Match[]" first replaces the shipped list; without it the items are added
Match[]
Match[is_animated]=1
*/ ?>

OverrideMIMEType

Alternative MIME type for the image, currently unused.

Default: animation/gif.

<?php /* #?ini charset="utf-8"?
# settings/override/image.ini.append.php
[AnimatedGIF]
OverrideMIMEType=animation/gif
*/ ?>

DisallowedFilters

A list of filters which are not allowed to be run on this image,
wildcards can also be used.

Default: a list of 1: *.

<?php /* #?ini charset="utf-8"?
# settings/override/image.ini.append.php
[AnimatedGIF]
# an empty "DisallowedFilters[]" first replaces the shipped list; without it the items are added
DisallowedFilters[]
DisallowedFilters[]=*
*/ ?>

ExtraFilters

A list of filters which are allowed to be run on this image,
wildcards can also be used. If this is supplied only filters that
are in this list will be allowed
Note that resizing of animated gifs is not supported using GD2, at least not until PHP 5.3.
See: http://www.libgd.org/FAQ\_PHP
AllowedFilters[]
A list of extra filters to add for this image.

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/image.ini.append.php
[AnimatedGIF]
# an empty "ExtraFilters[]" first replaces the shipped list; without it the items are added
ExtraFilters[]
*/ ?>

Generated by ./console exp:help:examples from settings/image.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x