我有我的Plone的页面模板下面的代码:的Plone:缩放图像
<img
tal:define="folderimagetitle python:context.getField('folderimagetitle').getAccessor(context)()"
tal:condition="folderimagetitle"
src=""
alt=""
tal:replace="structure python:context.getWrappedField('folderimage').tag(context, alt=folderimagetitle, css_class='photo')"
/>
基本上我想要显示的图像的H1标签旁边。图像将工作并显示正常,但会显示完整图像大小与文本不一致。我也不想仅添加高度和宽度属性,因为这会导致图像的边缘粗糙,并且效果不好。
如何将其缩小到Plone中可用的默认尺寸之一,即列表,图标,平铺,缩略图,小图,预览和大图?
完美工作。谢谢。 – Frankline 2012-08-13 14:28:30