Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install collective.picturefill

How to install collective.picturefill

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.picturefill
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
1.2 Available View build log
Linux (64-bit)
1.2 Available View build log
 
License
gpl
Dependencies
Lastest release
version 1.2 on May 8th, 2013

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

https://secure.travis-ci.org/toutpt/collective.picturefill.png

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

People

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]

Subscribe to package updates

Last updated May 8th, 2013

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.