I cannot get Electron BrowserWindow to display any images from external link. For example:
<img src="https://ropsten.etherscan.io/images/main/empty-token.png" style="width: 40px; height: 40px;">
I am not sure if this is a CORS issue. But I have already running with the following:
app.commandLine.appendSwitch('disable-features', 'OutOfBlinkCors');
and
mainWindow = new BrowserWindow({
width: 1490,
height: 900,
minWidth: 640,
minHeight: 480,
show: false,
webPreferences: {
nodeIntegration: true,
webSecurity: false
},
title: 'My App',
});
The error I got from the chromium console is: net::ERR_FAILED I am running Electron 8.5.5
question from:https://stackoverflow.com/questions/65626798/cannot-display-external-images-in-electron-browserwindow