Skip to main content

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

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]

Project details


Download files

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

Files for collective.picturefill, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size collective.picturefill-1.2.zip (34.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page