Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Dialog Image preview picker not displaying binoculars icon

Avatar

Level 4

not able to see preview icon(which looks like a binoculars) for browsing dam content(Images), only able to see edit and clear option. xml format is like below 

 

<backicon
jcr:primaryType="nt:unstructured"
sling:resourceType="cq/gui/components/authoring/dialog/fileupload"
autoStart="{Boolean}false"
class="cq-droptarget"
fieldLabel="Back icon"
fileNameParameter="./fileNameBackIcon"
fileReferenceParameter="./fileReferenceBackIcon"
mimeTypes="[image]"
multiple="{Boolean}false"
name="./backicon"
title="Back icon"
uploadUrl="${suffix.path}"
useHTML5="{Boolean}true"/>

Prashanth_02a_0-1667316447523.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I don't know the version but in 6.4 the code for picker is not present so it maybe it is supported from AEMaaCS or AEM 6.5 

 

In /libs/cq/gui/components/authoring/dialog/fileupload/render.jsp 

 

<button type="button" class="cq-FileUpload-picker" is="coral-button" variant="quiet" aria-haspopup="dialog"><%= xssAPI.encodeForHTML(i18n.getVar("Pick")) %></button>

 



Arun Patidar

View solution in original post

6 Replies

Avatar

Community Advisor

There is the browse text (highlighted in blue color), which opens the asset picker modal when you click on it. Also, you can drop assets into the file upload container.

You will notice the pick button after you drop/select an asset.

Avatar

Level 4

@Lokesh_Vajrala blue color browse button will take author to upload images from local computer not from Dam, I want preview picker icon through which we can browse /content/dam folder in AEM server.

Avatar

Community Advisor

Hi,

Can you compare the dialog configuration where is it available?

I am using core component image V3 in AEMaaCS and I can see the picker button.

 

It might be possible that you are not in the correct version of AEM. 

arunpatidar_0-1667378793147.png

 

 



Arun Patidar

Avatar

Level 4

@arunpatidar Please let me know, from which version of AEM, preview picker icon is available for use.

Avatar

Correct answer by
Community Advisor

I don't know the version but in 6.4 the code for picker is not present so it maybe it is supported from AEMaaCS or AEM 6.5 

 

In /libs/cq/gui/components/authoring/dialog/fileupload/render.jsp 

 

<button type="button" class="cq-FileUpload-picker" is="coral-button" variant="quiet" aria-haspopup="dialog"><%= xssAPI.encodeForHTML(i18n.getVar("Pick")) %></button>

 



Arun Patidar