AEM 6.4 | Multiple thumbnails in page properties

Avatar

Avatar

n_radhakrishna

Avatar

n_radhakrishna

n_radhakrishna

27-02-2020

Hi,

 

OOTB page properties dialog has thumbnail tab which allow to select an asset from DAM or upload from file system. 

I tried to have a custom tab with another thumbnail. I can drag and drop different assets on ootb thumbnail and custom thumbnail but when I save the page properties and open again both thumbnails having same asset.

 

How can I have different thumbnails at page properties level? for example one thumbnail for desktop and another thumbnail for mobile.

 

I also tried using commerce asset picker but no luck.

 

Thanks,

Radha Krishna N

AEM 6.4 coral3 touch-ui

Replies

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

957

Correct Reply

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

957

Correct Reply

1.0K
Jörg_Hoh
Employee

29-02-2020

Can you check that you store the custom thumbnail in a different property/node than the default one?

Avatar

Avatar

n_radhakrishna

Avatar

n_radhakrishna

n_radhakrishna

02-03-2020

With pathbrowser it is working but I was trying to use the assetpicker twice (1 - desktop, 1 - mobile). Looks like the assetpicker and thumbnail preview are tightly coupled (hardcoded in JSP and JS files) with node name 'image' under jcr:content.