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] } } });
|
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.aspxThanks!
|
Rank: Newbie Groups: Member
Joined: 3/29/2017 Posts: 4
|
I just installed build .81, now it works well. Thanks.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Great. Thanks for confirming!
|