Package Camelot :: Package camelot :: Package core :: Package files :: Module storage :: Class StoredImage |
[frames] | no frames]

# Class StoredImage

source code

Helper class for the Image field type Class linking an image and the location and filename where the image is stored

Instance Methods
checkout_image(*args, **kwargs) Checkout the image from the storage, and return a QImage | source code
checkout_thumbnail(*args, **kwargs) Checkout a thumbnail for this image form the storage :return: a QImage | source code
Inherited from `StoredFile`: `__init__`, `__unicode__` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties
Inherited from `StoredFile`: `verbose_name` Inherited from `object`: `__class__`

Method Details

### checkout_image(*args, **kwargs) | source code
Checkout the image from the storage, and return a QImage Decorators: `@model_function`

### checkout_thumbnail(*args, **kwargs) | source code
Checkout a thumbnail for this image form the storage :return: a QImage Decorators: `@model_function`