Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Dialog Image preview picker not displaying binoculars icon

Avatar

Level 3

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>

 

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 3

@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

 

 

Avatar

Level 3

@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>