cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
max81
Impactful Individual
Impactful Individual

Image with Data URI not visible in webbrowsers

Hello together, hello @aprildunnam,

 

I'm using Data URI svg files for some image controls. I saw it also in Aprils video on youtube:

http://Youtube%20Video by April Dunnam

 

Unfortunately the images don't work in webbrowsers (Testet in Firefox, Chrome, IE and Edge). In Power Apps Studio + Preview everything works fine.

 

Is this a bug or ....? Will it work in the future?

 

Thanks and greetings,

Max

 

 

3 REPLIES 3
max81
Impactful Individual
Impactful Individual

I have a image control with

 

 

"data:image/svg+xml,"
&
EncodeUrl(
"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' class='chart' width='300' height='60' role='img'>
  <g class='bar'>
    <rect width='20' height='19'></rect>
    <text x='25' y='10' dy='.35em'>4 apples</text>
  </g>
  <g class='bar'>
    <rect width='80' height='19' y='20'></rect>
    <text x='85' y='28' dy='.35em'>8 bananas</text>
  </g>
  <g class='bar'>
    <rect width='150' height='19' y='40'></rect>
    <text x='150' y='48' dy='.35em'>15 kiwis</text>
  </g>
</svg>"
)

 

It's not visible, if I play it in a webbrowser. Only in the preview mode and on phone/tablet.

Hi @max81 ,

 

Is there any error message when the issue happens?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
max81
Impactful Individual
Impactful Individual

Hello Mona,

there is no error message. The images are just not visible.

Thanks and greetigs,
Max

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,971)