Welcome Guest Search | Active Topics | Sign In | Register

I can't load local images with EO.webbrowser2020 Options
Forrest
Posted: Tuesday, March 17, 2020 12:24:48 PM
Rank: Newbie
Groups: Member

Joined: 3/29/2017
Posts: 4
Dear team,
I just updated my project from EO.webbrowser 2017 -2020.
I found I can't load local images, there is must be some difference between 2017 and 2020 in WebSecurity.
It works well in EO.webbrowser 17.2.43.0
I'm sure that I set options.EnableWebSecurity = False
and the codes are completely same.


part of the code:

var filePath = 'D:/test';
****
layer.setOptions({
source: function(res) {
var data = res.value;
return filePath + '/images/' + data.icon + '.png';
},
style: {
size: {
key: 'count',
scale: 'linear',
value: [32, 64]
}
}
});
eo_support
Posted: Tuesday, March 17, 2020 2:57:14 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Hi,

Which build do you use? We have just posted a new build (2020.0.81.0) yesterday that addressed some issues related to local file and EnableWebSecurity.

If you still have problem with build .81, please try to isolate the problem into a test project and send the test project to us. See here for more details:

https://www.essentialobjects.com/forum/test_project.aspx

Thanks!
Forrest
Posted: Thursday, March 19, 2020 2:46:06 AM
Rank: Newbie
Groups: Member

Joined: 3/29/2017
Posts: 4
I just installed build .81, now it works well.
Thanks.
eo_support
Posted: Thursday, March 19, 2020 2:10:54 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Great. Thanks for confirming!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.