Plone的PictureFill
项目描述
简介
此插件在Plone中安装picturefill并提供一系列工具来显示来自不同组件(如brain、dexterity对象或archetypes对象)的图像。
如何安装
此插件可以像其他插件一样安装。请遵循官方文档
如何使用
在模板中
tal:content="structure myimage_object/@@polyfill"
在Python中
from collective.picturefill.interfaces import IPictureFill IPictureFill(brain)()
CSS:如果您想使图片fill与容器的确切大小匹配,应使用此技巧
div[data-picture] img{ width: 100%; }
致谢
公司
人员
JeanMichel FRANCOIS aka toutpt <toutpt@gmail.com>
变更日志
1.2 (2013-04-29)
添加 bundle picturefill [toutpt]
1.1 (2013-04-02)
添加对 tiles 的支持 [toutpt]
1.0 (2013-03-22)
暂无更改。
0.2 (2013-03-22)
使用 plone.app.imaging api 构建图片列表 [toutpt]
0.1 (2013-03-21)
使用 templer 创建的包 [JeanMichel aka toutpt]
项目详情
关闭
collective.picturefill-1.2.zip的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 65448d17bbc08ad341ed41a38f571ff205bb9e2418dadf13599259b3d60cf363 |
|
MD5 | 4f594687399b993ca1f3ec43bba0e9a0 |
|
BLAKE2b-256 | 845664ed496e81ca7b680903c50fd11764c5eb2714ca66cf47e97e38af5a57c2 |