是否可以将图像标签应用于另一个图像标签的结果?
Is it possible to apply the image tag to the result of another image tag?
我对鹡鸰的图像标签有点疑问。
是否可以将图片标签以串联的方式在同一张图片上应用两次?
例如:
{% image photo width-1500 as photo_scaled %}
{% image photo_scaled fill-400x300 as image %}
提前致谢
当您使用模板标签 image
(例如 {% image photo width-1500 as photo_scaled %}
)时,您生成的是 图像再现,而不是新图像。因此,您无法从演绎版生成新的演绎版。
A “Rendition” contains the information specific to the way you’ve requested to format the image using the resize-rule, i.e. dimensions and source URL. Image Tag Docs
但是,在您上面的问题中,fill-400x300
将产生完全相同的再现 size/compression - 与输入图像无关。
我对鹡鸰的图像标签有点疑问。
是否可以将图片标签以串联的方式在同一张图片上应用两次?
例如:
{% image photo width-1500 as photo_scaled %}
{% image photo_scaled fill-400x300 as image %}
提前致谢
当您使用模板标签 image
(例如 {% image photo width-1500 as photo_scaled %}
)时,您生成的是 图像再现,而不是新图像。因此,您无法从演绎版生成新的演绎版。
A “Rendition” contains the information specific to the way you’ve requested to format the image using the resize-rule, i.e. dimensions and source URL. Image Tag Docs
但是,在您上面的问题中,fill-400x300
将产生完全相同的再现 size/compression - 与输入图像无关。