Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

PictureFill for Plone

Project Description

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

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]
Release History

Release History

This version
History Node

1.2

History Node

1.1

History Node

1.0

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.picturefill-1.2.zip (34.6 kB) Copy SHA256 Checksum SHA256 Source Apr 29, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting