Skip to content

A Plone add-on which adds "static" thumbnails to content objects

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE.GPL
Unknown
LICENSE.rst
Notifications You must be signed in to change notification settings

visaplan/plone.staticthumbnails

Repository files navigation

https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336:target:https://pycqa.github.io/isort/

visaplan.plone.staticthumbnails

This Plone add-on adds "static" thumbnails to content objects; the idea is

  • to make thumbnail images available even for objects the user can't access (e.g. for object listings which include restricted but offered objects)
  • since the Zope permissions system is bypassed anyway, the front-end webserver can quite as well serve those images itself;
  • thus, the thumbnails are written to the filesystem.

Features

  • Provides a mixin class IStaticThumbnails
  • which features the getThumbnailPath method.
  • This method checks the date and time of the image in the image property and creates any missing thumbnail image in the filesystem
  • before returning the TTW path to this image file,
  • which usually follows the pattern /++thumbnail++/<UUID>.
  • It is not normally executed during the common web requests but only when the object is reindexed; thus, the TTW path to the thumbnail image is available as catalog metadata.

Examples

This add-on can be seen in action at the following sites:

Documentation

Sorry, we don't have real user documentation yet.

Installation

Install visaplan.plone.staticthumbnails by adding it to your buildout:

[buildout]

...

eggs =
    visaplan.plone.staticthumbnails

and then running bin/buildout

Contribute

Support

If you are having issues, please let us know; please use the issue tracker mentioned above.

License

The project is licensed under the GPLv2.

About

A Plone add-on which adds "static" thumbnails to content objects

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE.GPL
Unknown
LICENSE.rst

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published