Can anyone suggest how to create custom Image component ALT text in AEM6.2

Avatar

Avatar

sandhyap2357299

Avatar

sandhyap2357299

sandhyap2357299

09-08-2017

Hi,

Can anyone please help me to create the component  in AEM6.2 with

1. Image with alt text

2. Rich text  where we can write text and edit the margin, color, font-size, font-weight (free style) --- different component.

I have tried using  sling:resourceTpe="granite/ui/components/foundation/form/pathbrowser" and getting the only image as mentioned below

<img src="${href.link}" >

But I need to get the other properties like size,alt text for image from dialog,do we need to add all these properties as a JCR node in the dialog.

Please suggest.

View Entire Topic

Avatar

Avatar

riteshsrajput

Avatar

riteshsrajput

riteshsrajput

09-08-2017

Have you explored the OOB image component /libs/foundation/components/image? it gives you the feature author to add the alt text.