fallback
Version generation is based on the assumption that the
original version of an image is larger than the image size specified
with maxHeight
and maxWidth
. fallback
specifies what to
do when this is not the case: if, for example, the original image is
160x200 and the maximum size of this version is defined as
300x200.
Syntax
<fallback operation="(copy|skip|resize)" />
Attributes
operation="
(copy|skip|resize)"
-
Specifies the fallback action to be taken.
Allowed values are:
copy
(default)-
Use the original version with no scaling applied (recommended).
skip
-
Do not generate this version of the image.
resize
-
Scale the image up to the required size. This may result in a poor quality image.