Richeditor: image form
This form is used for the add/edit image screen in the richeditor.
File path | /forms/richeditor/image.xml |
---|---|
Form ID | richeditor.image |
<?xml version="1.0" encoding="UTF-8"?>
<form feature="cms">
<tab id="main" sortorder="10" title="cms:ckeditor.imagepicker.main.tab">
<fieldset id="main" sortorder="10">
<field sortorder="10" name="asset" control="assetPicker" required="true" label="cms:ckeditor.imagepicker.asset.label" allowedTypes="image" />
<field sortorder="15" name="asset_alt" control="textInput" required="false" label="cms:ckeditor.imagepicker.asset_alt.label" help="cms:ckeditor.imagepicker.asset_alt.help" disabled="true" />
<field sortorder="20" name="alt_text" control="textinput" required="false" label="cms:ckeditor.imagepicker.alt_text.label" help="cms:ckeditor.imagepicker.alt_text.help" maxLength="200" />
<field sortorder="30" name="alignment" control="select" required="false" label="cms:ckeditor.imagepicker.alignment.label" values="auto,left,right,center" labels="cms:ckeditor.imagepicker.alignment.auto,cms:ckeditor.imagepicker.alignment.left,cms:ckeditor.imagepicker.alignment.right,cms:ckeditor.imagepicker.alignment.center" />
</fieldset>
<fieldset id="resize" sortorder="20" title="cms:ckeditor.imagepicker.resize.fieldset">
<field sortorder="10" name="derivative" control="derivativePicker" required="false" label="cms:ckeditor.imagepicker.derivative.label" />
<field sortorder="20" name="dimensions" control="imagedimensions" required="true" label="cms:ckeditor.imagepicker.dimensions.label" />
<field sortorder="30" name="quality" control="select" required="true" label="cms:ckeditor.imagepicker.quality.label" values="highestQuality,highQuality,mediumQuality,highestPerformance,highPerformance,mediumPerformance" labels="cms:ckeditor.imagepicker.quality.highestQuality,cms:ckeditor.imagepicker.quality.highQuality,cms:ckeditor.imagepicker.quality.mediumQuality,cms:ckeditor.imagepicker.quality.highestPerformance,cms:ckeditor.imagepicker.quality.highPerformance,cms:ckeditor.imagepicker.quality.mediumPerformance" defaultValue="highestPerformance" />
</fieldset>
</tab>
<tab id="spacing" sortorder="20" title="cms:ckeditor.imagepicker.spacing.tab">
<fieldset id="spacing" sortorder="20">
<field sortorder="60" name="spacing_top" control="spinner" required="false" label="cms:ckeditor.imagepicker.spacing_top.label" default="5" />
<field sortorder="60" name="spacing_right" control="spinner" required="false" label="cms:ckeditor.imagepicker.spacing_right.label" default="5" />
<field sortorder="60" name="spacing_bottom" control="spinner" required="false" label="cms:ckeditor.imagepicker.spacing_bottom.label" default="5" />
<field sortorder="60" name="spacing_left" control="spinner" required="false" label="cms:ckeditor.imagepicker.spacing_left.label" default="5" />
</fieldset>
</tab>
<tab id="caption" sortorder="30" title="cms:ckeditor.imagepicker.caption.tab">
<fieldset id="caption" sortorder="10">
<field sortorder="10" name="copyright" control="textinput" required="false" label="cms:ckeditor.imagepicker.copyright.label" maxLength="600" />
<field sortorder="20" name="caption" control="richeditor" required="false" label="cms:ckeditor.imagepicker.caption.label" toolbar="noInserts" />
</fieldset>
</tab>
<tab id="link" sortorder="40" title="cms:ckeditor.imagepicker.link.tab">
<fieldset id="link" sortorder="10">
<field sortorder="10" name="link" control="textinput" required="false" label="cms:ckeditor.imagepicker.link.label" maxLength="500" help="cms:ckeditor.imagepicker.link.help" placeholder="cms:ckeditor.imagepicker.link.placeholder" />
<field sortorder="15" name="link_asset" control="assetPicker" required="false" label="cms:ckeditor.imagepicker.link_asset.label" />
<field sortorder="15" name="link_page" control="sitetreePagePicker" required="false" label="cms:ckeditor.imagepicker.link_page.label" />
<field sortorder="20" name="link_target" control="select" required="false" label="cms:ckeditor.imagepicker.link_target.label" values="_self,_blank,_parent,_top" />
</fieldset>
</tab>
</form>