开发者

eZ publish to resize image not scale

开发者 https://www.devze.com 2022-12-19 20:16 出处:网络
In eZ publish at the moment Im using the following in image.ini.append.php [largepic] Reference= Filters[]

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

精彩评论

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

关注公众号