Forum Discussion
BASE64 Images Not Displaying in Power BI Report
It is working for me now. I might have done a few changes but I think when I generated the base64 code again today using the same image, the string started with “data:image/png;base64,” instead of the earlier “data:image;base64,”. Once I made that change I had to make sure the Data category for the field was set to “Image URL”.
FYI, my images were small to begin with, and Base64 was only 8K characters.
Not sure if the encoding/decoding standards changed.
- sriso5 months ago
Advocate I
Text editor won't show the exact text I entered. I had to replace "image" with "image/png". I am assuming this only applies to .png images.
sriso wrote:It is working for me now. I might have done a few changes but I think when I generated the base64 code again today using the same image, the string started with “data:image/png;base64,” instead of the earlier “data:image;base64,”. Once I made that change I had to make sure the Data category for the field was set to “Image URL”.
FYI, my images were small to begin with, and Base64 was only 8K characters.
Not sure if the encoding/decoding standards changed.- OutdoorIntel5 months agoRegular Visitor
Thanks for this. I added "/png" to my base64 (all of mine are png images) and they went back to rendering as before. Great call!