Introduction
This addon install picturefill in Plone and provide a suite of tools to display images from different kind of components such as brain, dexterity object or archetypes object.
How to install
This addon can be installed has any other addons. please follow official documentation
How to use
in template:
tal:content="structure myimage_object/@@polyfill"
in python:
from collective.picturefill.interfaces import IPictureFill IPictureFill(brain)()
CSS: You should use this tricks if you want in your theme that picturefill fit the exact size of the container:
div[data-picture] img{
width: 100%;
}
Credits
Companies
People
JeanMichel FRANCOIS aka toutpt <toutpt@gmail.com>
Changelog
1.2 (2013-04-29)
Add a bundle picturefill [toutpt]
1.1 (2013-04-02)
Add support for tiles [toutpt]
1.0 (2013-03-22)
Nothing changed yet.
0.2 (2013-03-22)
Use plone.app.imaging api to build the list of pictures [toutpt]
0.1 (2013-03-21)
Package created using templer [JeanMichel aka toutpt]
Release files for collective.picturefill 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| collective.picturefill-1.2.zip | 34.6 kB | Details |
Release files / collective.picturefill-1.2.zip
| Download URL | collective.picturefill-1.2.zip |
|---|---|
| Size | 34.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65448d17bbc08ad341ed41a38f571ff205bb9e2418dadf13599259b3d60cf363
|
|
BLAKE2b-256 checksum How to use checksums |
845664ed496e81ca7b680903c50fd11764c5eb2714ca66cf47e97e38af5a57c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |