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:
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?
I use the links above for my Image property in the Image controller, they all work.
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...
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.
Check out new user group experience and if you are a leader please create your group
Next call is happening on April 21st at 8a PST.
May the fourth be with you, join us online!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.