Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
Hi Team ,
Please suggest the possible ways to convert the Dam image to Base 64 encoded string using Sling models.
<source media="(min-width: 1px)" data-srcset="/content/dam/img/banner-01-mob.png"srcset="Encoded Base 64 Sting">
Thanks,
Sambasivaraja
Solved! Go to Solution.
I found an article that could be helpful:
https://community.adobe.com/t5/indesign/convert-an-image-file-to-base64-or-other-string-value/td-p/3...
You can also use Adobe's Base64 API, as follows:
https://helpx.adobe.com/experience-manager/6-4/sites/developing/using/reference-materials/javadoc/in...
I hope these help !!
View solution in original post
Views
Likes
Replies