Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Processes assets for use with Dynamic Media Image Services

Avatar

Level 8

Hi

We have the following step in our DAM update asset workflow.

I cannot find any support for DMImageProcess and understand what are the individual metaData. 

What I know is that it creates a rendition cq5dam.web.1280.1280.jpeg. 

Can you please explain. Thanks.

<dmimageprocess
jcr:created="{Date}2015-09-28T17:50:46.962-07:00"
jcr:createdBy="admin"
jcr:description="Processes assets for use with Dynamic Media Image Services"
jcr:lastModified="{Date}2015-09-28T17:50:46.962-07:00"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Dynamic Media Process Image Assets"
sling:resourceType="dam/components/s7imaging/dmimageprocess">
<metaData
jcr:primaryType="nt:unstructured"
CONFIGS="[140:100:false,48:48:false,319:319:false]"
HEIGHT="1280"
MIME_TYPE="image/jpeg"
PROCESS="com.adobe.cq.dam.dm.process.workflow.DMImageProcess"
PROCESS_AUTO_ADVANCE="true"
QUALITY="90"
WIDTH="1280"/>
</dmimageprocess>
2 Replies

Avatar

Community Advisor

Hi @anasustic 
you can try this way

                    <metadata
                            sling:hideResource="{Boolean}true"
                            jcr:primaryType="nt:unstructured"
                            jcr:title="Metadata"
                            sling:resourceType="granite/ui/components/coral/foundation/container"
                            margin="{Boolean}true">
                        <items jcr:primaryType="nt:unstructured">
                            <columns
                                    jcr:primaryType="nt:unstructured"
                                    sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"
                                    margin="{Boolean}true">
                                <items jcr:primaryType="nt:unstructured">
                                    <column
                                            jcr:primaryType="nt:unstructured"
                                            sling:resourceType="granite/ui/components/coral/foundation/container">
                                        <items jcr:primaryType="nt:unstructured">
                                            <dynamicmediaGroup
                                                    granite:class="cmp-image__editor-dynamicmedia"
                                                    granite:hide="${!cqDesign.enableDmFeatures}"
                                                    jcr:primaryType="nt:unstructured"
                                                    sling:resourceType="granite/ui/components/coral/foundation/well">
                                                <items jcr:primaryType="nt:unstructured">
                                                    <dmpresettypecontainer
                                                            jcr:primaryType="nt:unstructured"
                                                            sling:resourceType="granite/ui/components/coral/foundation/container">
                                                        <items jcr:primaryType="nt:unstructured">
                                                            <presettype
                                                                    jcr:primaryType="nt:unstructured"
                                                                    sling:resourceType="granite/ui/components/coral/foundation/form/radiogroup"
                                                                    deleteHint="{Boolean}true"
                                                                    fieldDescription="Select either an Image Preset or Smart Crop rendition."
                                                                    fieldLabel="Preset Type"
                                                                    name="./dmPresetType"
                                                                    text="Preset Type"
                                                                    wrapperClass="cmp-image__editor-dynamicmedia-presettype">
                                                                <items jcr:primaryType="nt:unstructured">
                                                                    <option1
                                                                            jcr:primaryType="nt:unstructured"
                                                                            checked="{Boolean}true"
                                                                            text="Image Preset"
                                                                            value="imagePreset"/>
                                                                    <option2
                                                                            jcr:primaryType="nt:unstructured"
                                                                            text="Smart Crop"
                                                                            value="smartCrop"/>
                                                                </items>
                                                            </presettype>
                                                        </items>
                                                    </dmpresettypecontainer>
                                                    <imagepreset
                                                            granite:class="cmp-image__editor-dynamicmedia-imagepreset"
                                                            jcr:primaryType="nt:unstructured"
                                                            sling:resourceType="granite/ui/components/coral/foundation/form/select"
                                                            fieldDescription="Image Preset to use when rendering image."
                                                            fieldLabel="Image Preset"
                                                            name="./imagePreset">
                                                        <datasource
                                                                jcr:primaryType="nt:unstructured"
                                                                sling:resourceType="dam/components/scene7/common/imagepresetdatasource"/>
                                                    </imagepreset>
                                                    <smartcroprenditions
                                                            granite:class="cmp-image__editor-dynamicmedia-smartcroprendition"
                                                            jcr:primaryType="nt:unstructured"
                                                            sling:resourceType="granite/ui/components/coral/foundation/form/select"
                                                            fieldDescription="Select Auto for Dynamic Media to decide the best rendition. Else select a specific smart crop rendition."
                                                            fieldLabel="Rendition"
                                                            name="./smartCropRendition"/>
                                                    <imageModifiers
                                                            jcr:primaryType="nt:unstructured"
                                                            sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
                                                            fieldDescription="Additional Dynamic Media Image Serving commands separated by '&amp;'.Field gives complete flexibility to change image effects."
                                                            fieldLabel="Image Modifiers"
                                                            name="./imageModifiers"/>
                                                </items>
                                            </dynamicmediaGroup>
                                            <captionGroup
                                                    jcr:primaryType="nt:unstructured"
                                                    sling:resourceType="granite/ui/components/coral/foundation/well">
                                                <items jcr:primaryType="nt:unstructured">
                                                    <caption
                                                            jcr:primaryType="nt:unstructured"
                                                            sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
                                                            fieldDescription="Additional information about the image."
                                                            fieldLabel="Caption"
                                                            name="./jcr:title"/>
                                                    <titleValueFromDAM
                                                            jcr:primaryType="nt:unstructured"
                                                            sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
                                                            checked="${not empty cqDesign.titleValueFromDAM ? cqDesign.titleValueFromDAM : true}"
                                                            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"
                                                            uncheckedValue="false"
                                                            value="{Boolean}true"/>
                                                    <displayPopupTitle
                                                            jcr:primaryType="nt:unstructured"
                                                            sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
                                                            checked="${not empty cqDesign.displayPopupTitle ? cqDesign.displayPopupTitle : true}"
                                                            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"
                                                            text="Display caption as pop-up"
                                                            uncheckedValue="false"
                                                            value="{Boolean}true"/>
                                                </items>
                                            </captionGroup>
                                            <link
                                                    granite:class="cmp-image__editor-link"
                                                    jcr:primaryType="nt:unstructured"
                                                    sling:resourceType="granite/ui/components/coral/foundation/container">
                                                <items jcr:primaryType="nt:unstructured">
                                                    <link
                                                            jcr:primaryType="nt:unstructured"
                                                            sling:resourceType="granite/ui/components/coral/foundation/include"
                                                            path="/mnt/overlay/core/wcm/components/commons/editor/dialog/link/v1/link/edit/link"/>
                                                </items>
                                            </link>
                                            <id
                                                    jcr:primaryType="nt:unstructured"
                                                    sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
                                                    fieldDescription="HTML ID attribute to apply to the component."
                                                    fieldLabel="ID"
                                                    name="./id"/>
                                        </items>
                                    </column>
                                </items>
                            </columns>
                        </items>
                    </metadata>

 Processing assets for AEM Dynamic Media | Adobe Experience Manager

 



Avatar

Level 8

Thank you. Where do I see the changes you made?