MicrosoftDocs / AdaptiveCards

Docs for Adaptive Cards
https://docs.microsoft.com/en-us/adaptive-cards/
Creative Commons Attribution 4.0 International
73 stars 140 forks source link

Base64 image not rendering in WPF #136

Open Vinayholladr opened 5 years ago

Vinayholladr commented 5 years ago

Is it a known issue that base64 image is not rendering on WPF client? if yes then lets know when this issue will be fixed and if no please share the solution.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

matthidinger commented 5 years ago

Can you include the payload you're using? If you're referring to the data URI feature by encoding the image bytes into the URL, that is actually a v1.2 feature we are working on, but not officially released yet

Vinayholladr commented 5 years ago

Thanks Matthidinger for the reply.
Please find the requested payload below ,

"items": [ { "type": "Image", "size": "large", "url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAPlJREFUSA21k8ENhCAQRT3aiDVpORRkU3vYLjZh/2cZgwg4M2ZJCDgM7wHCNBlLjDGgqosR/0sHXS1xCThJK3ELtJJHgizZRz/kkQDgFfXzF4EGTrFrBx04d3I5LrMAkBn1hVoWwtf8T05X2CzIkAXAdzYccIEhfkgkZm4BoYQ7SSuvASKp46ZvQObRBErSi7xJGkJGc9MYLCyhlYg47zmPYWmNq2KYLOUkQbB8RPyhPonQc5sk6G+o9QvlTuzHlcFlw8dSwy9XUXU8TCrJnb4frhAQvqlX20rsrFrCe2uOKSakQRtMwDp5AC6H/JKSctP3SW6g9bBZ8gU4tDOwDNGeWAAAAABJRU5ErkJggg==", "horizontalAlignment": "right" } ]