Hello,
I have problem to show image using external URL. This is the URL that i use https://engine2dev.vnetcloud.com:8016/Assets/Upload/OnlineBooking/Admin/ProjectLogo/m-projectImagePP_20180910162201.jpg . Why this is cannot load even it have a https?
Thankyou.
Hi Khofifah Mega,
With that information, the most I can tell you is I can open your image on a browser so it should work just fine in your screens too. Trying to access it via HTTP (and not HTTPS) does not work on the other hand.
Please provide more context, namely how are you trying to display the image using an external URL. Eventually a screenshot of the Properties of the Image widget would also be helpful.
Jorge Martins wrote:
Hi Jorge,
Here the sample of my app, i hope it can help.
It helped me Thank you
I replicated your app and it worked like a charm, image displayed with no issues.
What exactly are you seeing when you open your application on the Chrome simulator? have you checked the browser console for any errors?
There is no image show up in mobile apps, but when i try in outsystems now and the browser it load.
You mean you can open it on a browser running on the device? That is odd indeed...
Can you provide screenshots of all three situations please: Native App not showing image, OutSystems Now showing image, device browser showing image.
Sure, Here the screenshots of outsystems now and browser:
and here the screenshot of mobile apps:
Khofifah Mega wrote:
Hi please read this page, do some changes and try again, maybe will help: https://success.outsystems.com/Documentation/11/Managing_the_Applications_Lifecycle/Secure_the_Applications/Apply_Content_Security_Policy
Khofifah,
Please open a browser on your mobile device (not on your computer) and access the image URL you are using on your mobile application. Can you see the image there?
Yes sir, here some screenshot.
That's not really what I asked, but still, the image is showing on your mobile device's browser.
I tried creating an application similar to yours, using the same URL for the image, and run it on an Android:
I'm guessing this may have something to do with mobile app security model not allowing access to certain URLs... I've found a few things online that may be relevant, but don't have time now to analise further:
You may also want to consider debugging directly on your device, by using Chrome Development tools or the integrated debugger in Service Studio to see what the request for the image returns:
there is no solution for this topic? I Have same problem can't show image with external URL on native mobile application
Hi all,
I have the same issue. The images load well on browser simulation screen, but on OS now, it is broken image icon, :(.
There maybe security concern from Android phone.
Hi Nghi Vo (and others who might come across this post),
I just want to point out these posts on the same topic.
https://www.outsystems.com/forums/discussion/21088/images-from-external-urls-not-loading/#Post82442
https://www.outsystems.com/forums/discussion/36688/image-external-link/
If you are using HTTP in your External Image URL, it won’t work on OutSystems Now and Native Mobile App. Only HTTPS is supposed to work in these scenarios.
Regards,
Nordin
Nordin Ahdi wrote:
I just want to point out to these posts on the same topic.
Thanks Nordin, its good to know that
Thanks for this share Nordin! =)
Thank you so much for your quick response, Nordin :)!