开发者

eZ publish to resize image not scale

In eZ publish at the moment Im using the following in image.ini.append.php

[largepic]
Reference=
Filters[]
Filters[]=geometry/scale=580;270

Which does work fine.

However for testing purposes I want to resize the image, scaling it up if needed - the image will be 580x270, even if the original image was lower dimension.

开发者_开发知识库Thanks.


Looks like it was scaleexact


If you put ! after the number it will force to exact size. For example:

[largepic]
Reference=
Filters[]
Filters[]=geometry/scale=580!;270!
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜