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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

image preview with pathbrowser and drag drop image functionality for multifield

kiranc13433869
Level 4
Level 4

hi,

 

I am working on aem 6.5

 

I am have 2 requirements for images:

1. is to have preview of images or pages in dialog box where i am using pathbrowser in touch ui.

 

2. drag drop image functionality for multifield.

we have have for single fields in editconfigs but it is not supporting for multifield dialogs.

 

any one come across such requirements?

kindly help.

1 Accepted Solution
Vijayalakshmi_S
Correct answer by
Community Advisor
Community Advisor

Hi @kiranc13433869,

You can make use of fileupload resource. - cq/gui/components/authoring/dialog/fileupload (image preview in dialog + can be used in multifield)

This is used in core image component and you can use that as a reference.

Preview feature is not available in Pathbrowser OOB (In fact, pathbrowser is deprecated per 6.5.0 as evident from /libs/granite/ui/components/coral/foundation/form/pathbrowser/render.jsp)

View solution in original post

1 Reply
Vijayalakshmi_S
Correct answer by
Community Advisor
Community Advisor

Hi @kiranc13433869,

You can make use of fileupload resource. - cq/gui/components/authoring/dialog/fileupload (image preview in dialog + can be used in multifield)

This is used in core image component and you can use that as a reference.

Preview feature is not available in Pathbrowser OOB (In fact, pathbrowser is deprecated per 6.5.0 as evident from /libs/granite/ui/components/coral/foundation/form/pathbrowser/render.jsp)

View solution in original post