Dear community,
I am about to make my first app, which is aimed for internal usage in our factory. The app needs a gallery with images, stored on our server. An URL looks as follows:
\\jb-dc01\JBEnterprise\Ramasoft.Net Documents\Project\dc543b2df07e4b31a269fb75c8e42dff\8f9c99b92a9f47ef97388632c0895266\413f82e209ce410a969700f76ab33857\AssemblyImages\2c5699a280a44a2eb5d6dc2fb7f6b763-int.png
When launching exactly this URL in the explorer, my image simply pops up but the app simply won't show anything. What am I doing wrong?
Solved! Go to Solution.
Images from UNC (network) paths do not work in most scenarios, due to permissions on the network shares.The best alternative, if you can do that, would be to host the images in a HTTP server, and access those images using the HTTP protocol.
For example, if you have IIS (Internet Information Services) running on the jb-dc01 computer, you can create a new Application on the default web site (e.g., called "assemblyimages"), point it to the directory containing the images (e.g., "C:\the actualPath\BEnterprise\Ramasoft.Net Documents\Project\dc543b2df07e4b31a269fb75c8e42dff\8f9c99b92a9f47ef97388632c0895266\413f82e209ce410a969700f76ab33857\AssemblyImages") and access your image as "http://jb-dc01/assemblyimages/2c5699a280a44a2eb5d6dc2fb7f6b763-int.png".
Does the Image Controller show any kind of errors (look for the exclamation)?
Based on what you mention, I think the problem here is when you launch your Image in the browser, your browser could have saved the server authentication/authorization so that the image can be loaded. Then, you can't launch your image in the PowerApps studio because the studio doesn't have any proof of your server's authentication.
That's just what I think.
Wow hngdev, thank you so much for your fast reply!
I was thinking about the same, so I also tested images directly on my C drive. Unfortunately, this didn't help either. I get no exclamation mark or any kind of warning whatsoever..
Did you try with a random photo from google image?
e.g:
C:\Users\my_user\Pictures\icon.png
https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Achtung.svg/2000px-Achtung.svg.png
I use the links above for my Image property in the Image controller, they all work.
Yes, tried that too. Internet images showed up perfectly.
that's weird then.
I'm using version 2.0.450, and it has no problem showing the image.
Well, the image shows up perfectly when placing the URL's directly into the formula bar, either the internet URL and the local URL. Also when I place an internet URL into the data source, there is no problem but as soon as I place a local URL (not even a network URL) into the data source, it just leaves me with a blank imagefield...
hmm, I am sorry I can't figure it out.
Thanks anyway!
Hm,, tried again and somehow can't get a local URL working too. Maybe I was wrong when saying that I had no problem with a direct local URL?
See my attachement, am I doing something wrong?. BTW: URL is checked and working.
User | Count |
---|---|
202 | |
101 | |
90 | |
45 | |
43 |
User | Count |
---|---|
247 | |
105 | |
103 | |
65 | |
57 |