Tui.image-editor: it is not displaying any icon giving an error like this-- tui-image-editor.js:5251 GET http://localhost:8100/icon-c.svg net::ERR_ABORTED

Created on 19 Oct 2018  路  6Comments  路  Source: nhn/tui.image-editor

Version

Development Environment

Current Behavior

// Write example code

Expected Behavior

Question

Most helpful comment

npm run build: svg creates the file under the dist / directory. The theme file should match its path.

All 6 comments

Did you fix this problem?

Currently i have the same issue.

I have the same problem

change the links of icon in tui-image-editor.js as per the icons exact location
if you have place the dist file in public folder change all the links of icon in code like this -
(the below line gives href="../dist/svg/iconname")
n
(the below line gives href="/dist/svg/iconname")
n
(note that this is for rails)

actually the solutions is to rewrite theme icon paths
'common.bi.image': 'img/some-path/some-imgi.svg',
'menu.normalIcon.path': 'img/some-path/icon-d.svg'

I have the same problem.

npm run build: svg creates the file under the dist / directory. The theme file should match its path.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lightway82 picture lightway82  路  5Comments

EABangalore picture EABangalore  路  5Comments

sergeizhukov picture sergeizhukov  路  3Comments

sj279811799 picture sj279811799  路  4Comments

Sai-Teja-Payyavula picture Sai-Teja-Payyavula  路  3Comments