Skip to content
Permalink
4 contributors

Users who have contributed to this file

@richardhand @bpauli @jckautzmann @vladbailescu
250 lines (249 sloc) 18 KB
<?xml version="1.0" encoding="UTF-8"?>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Copyright 2017 Adobe Systems Incorporated
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0"
xmlns:granite="http://www.adobe.com/jcr/granite/1.0"
jcr:primaryType="nt:unstructured"
jcr:title="Image"
sling:resourceType="cq/gui/components/authoring/dialog"
helpPath="https://www.adobe.com/go/aem_cmp_image_v2">
<content
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container"
granite:class="cmp-image__editor">
<items jcr:primaryType="nt:unstructured">
<tabs
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/tabs"
maximized="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<properties
jcr:primaryType="nt:unstructured"
jcr:title="Main"
sling:resourceType="granite/ui/components/coral/foundation/container"
margin="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<content
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container"
margin="{Boolean}false">
<items jcr:primaryType="nt:unstructured">
<enableLazyLoading
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
fieldDescription="Defer loading images until they become visible."
name="./disableLazyLoading"
text="Enable lazy loading"
checked="{Boolean}false"
uncheckedValue="true"
value="{Boolean}false"/>
<decorative
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
fieldDescription="Check if the image should be ignored by assistive technology and therefore does not require an alternative text. This applies to decorative images only."
name="./isDecorative"
text="Image is decorative"
uncheckedValue="false"
value="{Boolean}true"/>
<altValueFromDAM
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
fieldDescription="When checked, populate the image's alt attribute with the value of the dc:description metadata in DAM."
name="./altValueFromDAM"
text="Get alternative text from DAM"
checked="{Boolean}true"
uncheckedValue="false"
value="{Boolean}true"/>
<titleValueFromDAM
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
fieldDescription="When checked, populate the image's caption with the value of the dc:title metadata in DAM."
name="./titleValueFromDAM"
text="Get caption from DAM"
checked="{Boolean}true"
uncheckedValue="false"
value="{Boolean}true"/>
<displayCaptionPopup
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
fieldDescription="When checked, the caption won't be displayed below the image, but as a pop-up displayed by some browsers when hovering over the image."
name="./displayPopupTitle"
checked="{Boolean}true"
text="Display caption as pop-up"
uncheckedValue="false"
value="{Boolean}true"/>
<disableUuidTracking
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
fieldDescription="Check to disable tracking of asset's UUID."
name="./uuidDisabled"
text="Disable UUID tracking"
checked="{Boolean}true"
uncheckedValue="false"
value="{Boolean}true"/>
<widths
granite:class="core-image-widths"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
fieldDescription="Define a list of alternative image widths (in pixels). The most appropriate image will be loaded by the component. Note that this setting has no effect on SVG images."
fieldLabel="Widths">
<field
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/numberfield"
defaultValue="{Long}1280"
min="{Long}0"
name="./allowedRenditionWidths"
required="{Boolean}true"/>
</widths>
<jpegQuality
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/numberfield"
fieldDescription="The quality factor (in percentage from 0 and 100) for transformed (e.g. scaled or cropped) JPEG images."
fieldLabel="JPEG Quality"
name="./jpegQuality"
typeHint="Long"
required="{Boolean}true"
min="{Long}0"
max="{Long}100"
defaultValue="{Long}82" />
</items>
</content>
</items>
</properties>
<features
jcr:primaryType="nt:unstructured"
jcr:title="Features"
sling:resourceType="granite/ui/components/coral/foundation/container"
margin="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<content
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container"
margin="{Boolean}false">
<items jcr:primaryType="nt:unstructured">
<accordion
granite:class="js-cq-IPEPlugin-container"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/accordion"
variant="quiet">
<items jcr:primaryType="nt:unstructured">
<source
jcr:primaryType="nt:unstructured"
jcr:title="Source"
sling:resourceType="granite/ui/components/coral/foundation/container"
maximized="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<allowupload
granite:class="js-cq-ImageEditor-allowUpload"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
checked="{Boolean}true"
deleteHint="{Boolean}false"
name="./allowUpload"
text="Allow asset upload from file system"
uncheckedValue="{Boolean}false"
value="{Boolean}true"/>
</items>
<parentConfig
jcr:primaryType="nt:unstructured"
active="{Boolean}true"/>
</source>
<orientation
granite:class="js-cq-IPEPlugin-group"
jcr:primaryType="nt:unstructured"
jcr:title="Orientation"
sling:resourceType="granite/ui/components/coral/foundation/container"
maximized="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<rotate
jcr:primaryType="nt:unstructured"
jcr:title="Rotate"
sling:resourceType="cq/gui/components/authoring/dialog/inplaceediting/configuration/plugin"
features="right"
name="rotate"/>
<flip
jcr:primaryType="nt:unstructured"
jcr:title="Flip"
sling:resourceType="cq/gui/components/authoring/dialog/inplaceediting/configuration/plugin"
features="horizontal,vertical"
name="flip"/>
</items>
</orientation>
<crop
granite:class="js-cq-IPEPlugin-group"
jcr:primaryType="nt:unstructured"
jcr:title="Cropping"
sling:resourceType="granite/ui/components/coral/foundation/container"
maximized="{Boolean}true">
<items jcr:primaryType="nt:unstructured">
<crop
jcr:primaryType="nt:unstructured"
jcr:title="Allow crop"
sling:resourceType="cq/gui/components/authoring/dialog/inplaceediting/configuration/plugin"
features="*"
name="crop"/>
<configWrapper
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/authoring/dialog/inplaceediting/configuration/wrapper"
configPath="./plugins/crop/aspectRatios">
<aspectratios
granite:class="cq-AspectRatio"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
composite="{Boolean}true"
fieldLabel="Aspect Ratios">
<field
granite:class="cq-AspectRatio-field"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container"
name="./plugins/crop/aspectRatios">
<items jcr:primaryType="nt:unstructured">
<name
granite:class="cq-AspectRatio-name"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Name"
name="name"/>
<ratio
granite:class="cq-AspectRatio-ratio"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/numberfield"
fieldLabel="Ratio"
min="0"
name="ratio"
step="0.0001"/>
</items>
</field>
</aspectratios>
</configWrapper>
</items>
</crop>
</items>
</accordion>
</items>
</content>
</items>
</features>
<styletab
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/include"
path="/mnt/overlay/cq/gui/components/authoring/dialog/style/tab_design/styletab"/>
</items>
</tabs>
</items>
</content>
</jcr:root>
You can’t perform that action at this time.