Resources Base
Table of contents

Distribution and Deployment

How to know ResourcesPath is wrong

When you set ResourcesPath wrong, static files such as dynamsoft.webtwain.install.js , dynamsoft.viewer.css will fail to load and you see 404 errors in the browser console.

In some cases, you might not be able to calculate the correct relative path for these files and wishes to use an absolute path instead such as “https://www.dynamsoft.com/dwt/demo/resources/”. This is supported but keep in mind that if you want to use the new Camera module or run Dynamic Web TWAIN in the WASM mode, you must make sure the absolute path stays in the same domain to avoid cross-origin issues.

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest Version
    • Version 17.0
    • Version 16.2
    • Version 16.1.1
    Change +
    © 2003–2021 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support