Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Adding Image alt text for images inside richtext

Avatar

Level 4

Hello All,

 

Is there way to add alt text for images inside RTE component in 6.5 cloud version. I followed this article: http://experience-aem.blogspot.com/2015/09/aem-61-touch-ui-rich-text-editor-rte-browse-insert-image....
But its not working in 6.5 version. Let me know if anyone has implemented this feature.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @supriya-hande 
Could you please check following nodes for image plugin in OOTB RTE plugin

 

<rte
                        jcr:primaryType="nt:unstructured"
                        sling:resourceType="cq/gui/components/authoring/dialog/richtext"
                        fieldLabel="Paragraph"
                        name="./promoPara"
                        useFixedInlineToolbar="{Boolean}true">
                        <rtePlugins jcr:primaryType="nt:unstructured">
                          
                            <image
                                jcr:primaryType="nt:unstructured"
                                features="*"/>
                            
                        </rtePlugins>
                        <uiSettings jcr:primaryType="nt:unstructured">
                            <cui jcr:primaryType="nt:unstructured">
                                <inline
                                    jcr:primaryType="nt:unstructured"
                                    toolbar="[image#imageProps]">
                  
                                </inline>
                            </cui>
                        </uiSettings>
                    </rte>

 



Arun Patidar

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Hi @supriya-hande 
Could you please check following nodes for image plugin in OOTB RTE plugin

 

<rte
                        jcr:primaryType="nt:unstructured"
                        sling:resourceType="cq/gui/components/authoring/dialog/richtext"
                        fieldLabel="Paragraph"
                        name="./promoPara"
                        useFixedInlineToolbar="{Boolean}true">
                        <rtePlugins jcr:primaryType="nt:unstructured">
                          
                            <image
                                jcr:primaryType="nt:unstructured"
                                features="*"/>
                            
                        </rtePlugins>
                        <uiSettings jcr:primaryType="nt:unstructured">
                            <cui jcr:primaryType="nt:unstructured">
                                <inline
                                    jcr:primaryType="nt:unstructured"
                                    toolbar="[image#imageProps]">
                  
                                </inline>
                            </cui>
                        </uiSettings>
                    </rte>

 



Arun Patidar

Avatar

Level 4

Hi @arunpatidar 
Thanks for you quick reply. I tried this but I cant see image plugin when I open RTE dialog. Even I drop image inside it, I cant see image plugin. There are no any errors any console. Am I missing anything? I am using AEM 6.5 SDK local setup.

Thanks,

Supriya

Avatar

Administrator

@supriya-hande Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni