Solved
image as pathfield
hii all,
is how to get the multiple images on page only when we give path in the component not as upload and what can be sling model for this
hii all,
is how to get the multiple images on page only when we give path in the component not as upload and what can be sling model for this
This is the cq;dialog structure :
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/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 Component"
sling:resourceType="cq/gui/components/authoring/dialog">
<content
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<path
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"
fieldLabel="Path"
name="./path"
rootPath="/content/dam"
relativeRootPath="../.."/>
</items>
</content>
</jcr:root>
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.