Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

image preview with pathbrowser and drag drop image functionality for multifield

Avatar

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

Avatar

Correct answer by
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

Avatar

Correct answer by
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)