[英]eZ publish to resize image not scale
In eZ publish at the moment Im using the following in image.ini.append.php 在eZ中,我现在使用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. 但是出于测试目的,我想调整图像的大小,如果需要的话,将其放大-即使原始图像的尺寸较小,图像也将是580x270。
Thanks. 谢谢。
看起来像是scaleexact
If you put ! 如果你把! after the number it will force to exact size.
在数字之后,它将强制为确切大小。 For example:
例如:
[largepic]
Reference=
Filters[]
Filters[]=geometry/scale=580!;270!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.