Logo Search packages:      
Sourcecode: zope-extfile version File versions

zope-extfile-1.4.2::ExtImage::ExtImage Class Reference

Inherits ExtFile.

List of all members.


Detailed Description

The ExtImage-Product works like the Zope Image-product, but stores the 
    uploaded image externally in a repository-direcory. It can create a 
    preview of the image (requires PIL).

Definition at line 101 of file ExtImage.py.


Public Member Functions

def __init__
def __str__
def format
def get_prev_filename
def get_prev_size
def height
def is_broken
def is_webviewable
def manage_afterAdd
def manage_afterClone
def manage_beforeDelete
def manage_create_prev
def manage_del_prev
def manage_file_upload
def manage_http_upload
def manage_upload
def prev_height
def prev_size
def prev_width
def preview
def preview_html
def PUT
def tag
def width

Public Attributes

 has_preview
 prev_content_type
 prev_filename
 prev_ratio

Static Public Attributes

tuple manage_main = HTMLFile('dtml/extImageEdit', globals())
tuple manage_uploadForm = HTMLFile('dtml/extImageUpload', globals())
string meta_type = 'ExtImage'
 prev_rawsize = get_prev_size
tuple security = ClassSecurityInfo()

Private Member Functions

def _abort
def _createPreview
def _finish
def _formatDimensions
def _get_content_type
def _getImageSize
def _initPreview
def _undo

Static Private Attributes

tuple __implements__ = (IExtImage, WriteLockInterface)
dictionary _image_size = {'default':256,'min':1,'max':999}

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index