ZTFY package used to handle files and images in Zope3
Project description
=================
ztfy.file package
=================
.. contents::
What is ztfy.file ?
===================
ztfy.file is a set of classes to be used with Zope3 application server.
The purpose of this package is to handle :
- custom schema fields with their associated properties and browser widgets to
automatically handle fields as external files
- automatically handle generation of images thumbnails for any image ; these
thumbnails are accessed via a custom namespace ("++display++w128.jpeg" for example to get
a thumbnail of 128 pixels width) and are stored via images annotations
- allow selection of a square part of a thumbnail to be used as a "mini-square thumbnail".
Square thumbnails selection is based on JQuery package extensions, so the ztfy.jqueryui is
required to use all functions of ztfy.file package.
How to use ztfy.file ?
======================
A set of ztfy.file usages are given as doctests in ztfy/file/doctests/README.txt
Changelog
=========
0.2.6
-----
- modified ++file++ and ++display++ namespaces to accept an extension
0.2.5
-----
- added ImageFieldDataConverter to check that uploaded files are really images
0.2.4
-----
- changed position of file input fields
- changed handling of jQuery's "imgAreaSelect" plug-in
0.2.3
-----
- added check in image field widget thumbnail generation code
0.2.2
-----
- added extension in displays URLs
- changed square thumbnails management by using JQuery "imgAreaSelect" plug-in
- handle NOT_CHANGED value in square thumbnails converters
0.2.1
-----
- handle z3c.form NOT_CHANGED value in file field data converter
- migrated resources management from zc.resourcelibrary to Fanstatic
0.2
---
- Switched to ZTK-1.1.2
0.1.1
-----
- added a little sharpening on thumbnails generation
- added conversions while getting position and dimension of square thumbnails generation
0.1
---
- initial release
ztfy.file package
=================
.. contents::
What is ztfy.file ?
===================
ztfy.file is a set of classes to be used with Zope3 application server.
The purpose of this package is to handle :
- custom schema fields with their associated properties and browser widgets to
automatically handle fields as external files
- automatically handle generation of images thumbnails for any image ; these
thumbnails are accessed via a custom namespace ("++display++w128.jpeg" for example to get
a thumbnail of 128 pixels width) and are stored via images annotations
- allow selection of a square part of a thumbnail to be used as a "mini-square thumbnail".
Square thumbnails selection is based on JQuery package extensions, so the ztfy.jqueryui is
required to use all functions of ztfy.file package.
How to use ztfy.file ?
======================
A set of ztfy.file usages are given as doctests in ztfy/file/doctests/README.txt
Changelog
=========
0.2.6
-----
- modified ++file++ and ++display++ namespaces to accept an extension
0.2.5
-----
- added ImageFieldDataConverter to check that uploaded files are really images
0.2.4
-----
- changed position of file input fields
- changed handling of jQuery's "imgAreaSelect" plug-in
0.2.3
-----
- added check in image field widget thumbnail generation code
0.2.2
-----
- added extension in displays URLs
- changed square thumbnails management by using JQuery "imgAreaSelect" plug-in
- handle NOT_CHANGED value in square thumbnails converters
0.2.1
-----
- handle z3c.form NOT_CHANGED value in file field data converter
- migrated resources management from zc.resourcelibrary to Fanstatic
0.2
---
- Switched to ZTK-1.1.2
0.1.1
-----
- added a little sharpening on thumbnails generation
- added conversions while getting position and dimension of square thumbnails generation
0.1
---
- initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ztfy.file-0.2.6.tar.gz
(142.5 kB
view hashes)
Built Distribution
ztfy.file-0.2.6-py2.6.egg
(181.4 kB
view hashes)