This component is part of the YetaWF.ImageRepository package.
Displays an image selection area allowing file upload and image selection from the image repository. This component allows image file (jpeg, png, etc.) selection only. Allowable file types for image files are defined in the MimeSettings.json file. File types must specify "ImageUse": true to be accepted as image files.
. . .
This is used mainly for the Select Image (CKEditor) Module to allow image file selection in the CKEditor used by the TextArea Component.
The test page for this component can be found at Tests > Templates > ImageSelection ().
|string||ImageName||The selected image name. Only one image can be selected. The initial value of the model ImageName is ignored, as this component is only used to return a new image selection.|
The parent model that holds the model property that is passed to the YetaWF_ImageRepository_ImageSelection Component must also contain a property_Info property which provides all necessary information for the image repository used to store this image.
|ImageSelectionInfo||Model_Info||The information for the image repository used to store this image. See YetaWF.Modules.ImageRepository.Views.Shared.ImageSelectionInfo properties for available configuration options.|