Forum Discussion
luk
6 years agoBoss
Nice little research =), we had similar issues and the workaround we used was to basically handle this in the rendering Freemarker code where you access the avatar-url. As you said, if the image-size part is stripped out, it works, therefore something like this:
<#list response.items as item>
<img class="avatar" src="${item.avatar.href_medium?keep_before('/image-size')}" alt="" />
</#list>should do the trick. But I agree that this should be fixed in the product, especially if SVGs are technically allowed (which should of course be the case in times of retina displays)
Sign in to react to this post
- SuzieH6 years agoKhoros Alumni (Retired)Sign in to react to this post
- AmyS6 years agoKhoros Alumni (Retired)
We've actually got a ticket open for Image Service SVG support that's being actively tracked. Meaning, a developer has been looking into it, though I can't say exactly if/when it will be in a release.
I've included this request in the ticket as supporting info.
Sign in to react to this post