Thumbnails

FIXME: Describe Thumbnails class

Thumbnail.create(priority=None)

Create a thumbnail.

Parameters:
  • priority – priority how important the thumbnail is. The thumbnail process will handle the thumbnail generation based on this priority. If you loose all references to this thumbnail object, the priority will automatically set to the lowest value (2). Maximum value is 0, default 1.
Thumbnail.image
Get the image, no matter if large or normal
Thumbnail.failed
Check if thumbnailing failed before. Failed attempts are stored in the fail/beacon subdirectory.
beacon.THUMBNAIL_NORMAL
beacon.THUMBNAIL_LARGE

Previous topic

Media Handling

Next topic

Database Manipulation

This Page

Quick search