Interface CMPicture

All Superinterfaces:
com.coremedia.objectserver.dataviews.AssumesIdentity, BelowRootNavigation, CMHasContexts, CMLinkable, CMLocalized, CMMedia, CMObject, CMTeasable, CMVisual, com.coremedia.objectserver.beans.ContentBean, HasViewTypeName, Linkable, com.coremedia.blueprint.common.datevalidation.ValidityPeriod

public interface CMPicture extends CMVisual

A picture with the actual image blob and some metadata.

Note that a Picture is a first class content object. If you are sure that your picture is used only in an article or in a photoshow, just ignore the teaser properties. We could have introduced an Asset type for such purposes, but we wanted to keep the doctypes simple.

If you need distinct blobs of a picture, e.g. optimized for online or print usage, you should derive a new doctype from CMPicture and add more BlobProperties or use an DocTypeAspect to attach further properties.

Represents the document type CMPicture.