Web Demos

BARCODE READER SDK DEMO

Explore the flexibe barcode reading settings to optimize for your specific usage scenario.

WEB TWAIN SDK DEMO

Try the most popular web scanner features: scan images, import local images and PDF files, edit, save to local, upload to database, and etc.

BARCODE READER JAVASCRIPT DEMO

Transform any camera-equipped devices into real-time, browser-based barcode and QR code scanners.

MRZ SCANNER WEB DEMO

Detects the machine-readable zone of a passport, scans the text, and parses into human-readable data.

APP STORE DEMOS

BARCODE READER SDK FOR IOS

BARCODE READER SDK FOR ANDROID

VIEW MORE DEMOS >
Dev Center
Table of contents

View all FAQs about Project Deployment and End-user Installation

How can I change the reference path to the Dynamsoft’s resources in my project?

Scenario: For customers who are using Dynamic Web TWAIN, to change the location of the ‘Resources’ folder, or to rename it, please following the steps below:

Steps: In the below example we will assume the original Resources folder is located at ‘../{Project Directory}/Resources’, and you want to change it to ‘../{Project Directory}/Newfolder/ResourcesTest’.

Step 1. Please make sure the structure inside ‘Resources’ folder stay unchanged.

Step 2. Change the relative path in your page where you reference the js files, for example:

<script src="Resources/dynamsoft.webtwain.initiate.js"></script>
// or your own operation js file
<script src="Scripts/DWTSample_BasicScan.js"></script>
<script src="Resources/dynamsoft.webtwain.config.js"></script>

Modify as below:

<script src="Newfolder/ResourcesTest/dynamsoft.webtwain.initiate.js"></script>
// or your own operation js file
<script src="Scripts/DWTSample_BasicScan.js"></script>
<script src="Newfolder/ResourcesTest/dynamsoft.webtwain.config.js"></script>

Step 3. The same change needs to be done in dynamsoft.webtwain.config.js file. Add/uncomment the following line, then change ‘Resources’ (to ‘New folder/ResourcesTest’ as in this case):

Dynamsoft.DWT.ResourcesPath = "Resources";

Modify as below:

Dynamsoft.DWT.ResourcesPath = "Newfolder/ResourcesTest";

Is this page helpful?

YesYes NoNo

In this article:

latest version

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