Skip to content

ulif/pail

Repository files navigation

pail -- Python Adaptive Images Library

pail is a WSGI middleware providing Adaptive Images. Delivering small images to small devices.

build-status

It detects your visitor's screen size and automatically creates, and delivers device appropriate re-scaled versions of your web page's embeded HTML images. No (major) mark-up changes needed. It is intended for use with Responsive Designs and to be combined with Fluid Image techniques.

This package is based on the ideas of Matt Wilcox and (more loosely) on his PHP script for the same purpose. Matt is in no way to blame for any shortcomings of this Python port.

pail provides special support for use with Paste.

Please note, that this package is still in a very early state and changes, also to the API, are likely to happen in near future.

Comments and patches are welcome. Please send these to uli at gnufix dot de.

Installation

The package can be installed by:

$ pip install pail

Afterwards you should be able to use pail in any WSGI environment. See the documentation for details.

Links

About

Python Adaptive Images Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published