close

Filter

loading table of contents...

Site Manager Developer Manual / Version 2304

Table Of Contents

5.1.1.6 Blob Editors

The following editors are available for blob fields:

Class Description
AggregatingImageBlobEditor

This editor displays blobs of type image/gif, image/png or image/jpeg in the property as an image. In addition, you can define other properties which contain scaled versions of the blob. This blobs will be computed from the original blob by the CoreMedia Server. The property defaultExtension defines the type of the scaled image. jpeg for example would create a JPEG image, see the ImageMagick documentation for all supported formats. You can use the following attributes to define scaled versions of the blob:

  • onlineProperty="<PropertyName>": Sets the name of the property which should be converted when the blob contained in the property of the AggregatingImageBlobEditor changes. The size of the image is defined with the onlineWidth and onlineHeigth properties.

  • originalProperty="<PropertyName>": Sets the name of the property which should be converted when the blob contained in the property of the AggregatingImageBlobEditor changes.

  • thumbnailProperty="<PropertyName>":Sets the name of the property which should be converted when the blob contained in the property of the AggregatingImageBlobEditor changes. The size of the image is defined with the thumbnailWidth and thumbnailHeight properties.

Example:

<Document type="Photo">

<Property name="ScannedPhoto" editorClass="AggregatingImageBlobEditor" thumbnailProperty="Preview" onlineProperty="Online"/>

</Document>

BasicBlobEditor Generic editor which only displays blob size and content type. Files from the file system can be loaded and saved.
ImageBlobEditor Displays blobs of type image/gif, image/png or image/jpeg as an image. If the size of an image exceeds the document window size, it will be scaled down. You can use the attribute imageScaledForDisplay="false" to disable the behavior.
TextBlobEditor Allows editing of blobs of type text/* in a text field.

Table 5.11. Editors for blob fields


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.