We are working on AEM and dynamic media integration and is facing one issue with RTE components . The images are not loading from scene7 server and continue to load from DAM. Its a custom component and not the OOTB dynamic media component.
Any thoughts on how can we use DM capabilities for the images loaded via RTE
-
Nithin
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
The simple solution is to use either the image core component or the dynamic media component for displaying images instead of embedding them via the RTE. For example, instead of having one RTE with one paragraph, one image, and another paragraph, you would opt for a structure consisting of one RTE (for the paragraph), one Image component (for the image), and another RTE (for the last paragraph). Hopefully, this approach makes sense.
Another alternative to consider is manually creating an RTE plugin to construct your custom "URL" that utilizes the dynamic media pattern. Here is an example of how to write a plugin: https://medium.com/globant/build-a-custom-rte-plugin-with-chatgpt-for-aem-4e373487a6fe
Hope this helps
Hi,
The simple solution is to use either the image core component or the dynamic media component for displaying images instead of embedding them via the RTE. For example, instead of having one RTE with one paragraph, one image, and another paragraph, you would opt for a structure consisting of one RTE (for the paragraph), one Image component (for the image), and another RTE (for the last paragraph). Hopefully, this approach makes sense.
Another alternative to consider is manually creating an RTE plugin to construct your custom "URL" that utilizes the dynamic media pattern. Here is an example of how to write a plugin: https://medium.com/globant/build-a-custom-rte-plugin-with-chatgpt-for-aem-4e373487a6fe
Hope this helps
As @EstebanBustamante mentioned, you can create a plugin or parse the RTE content while rendering to construct your custom "URL" that utilizes the dynamic media pattern.
Views
Likes
Replies