file component for the CubicWeb framework
This cube models Files (pdf document, word processor file, screenshots, etc).
They are stored in the database and fulltext-indexed when possible.
For image files, an adaptor is provided to generate thumbnails (which are cached in <INSTANCEDIR>/cache/file/thumbnails by default).
Please note that this thumbnail generation adaptor is not meant to be considered as a “public API” for thumbnail generation. This is just a simple solution waiting for a proper official API to manage such features as arbitrary content rendering.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for cubicweb_file-3.4.0-py3-none-any.whl