Page 1 of 1

ASP.NET MVC & HTML remote source pdf reader

Posted: Tue Sep 05, 2017 6:24 pm
by gertgjoka

I am using the WebImageViewerJS as described here: ... Html5.html. The issue is that my pdfs are served from a remote api but when I do webImageViewer1.get_Images().openFile("http://localhost:1931/api/FileManager/D ... 9D2B00CB8B")
I get as a response: {"imageInfos":null,"success":false,"blocked":false,"errorMessage":"http://localhost:1931/api/FileManager/D ... 00CB8B:The given path's format is not supported.","requestId":null}

What can I do to show images from remote sources (not local to the web application)?

Re: ASP.NET MVC & HTML remote source pdf reader

Posted: Wed Sep 06, 2017 9:37 am
by Alex

Our web image viewer processes images on the server-side so you need provide image to the server-side for processing.

For solving your task you need create a data storage, which will get image from your remote API and provide image to the web image viewer.

Please read the article that shows how to view images from database in web image viewer: ... =22&t=2385

You need get project from article and change calls to the database to the calls to your remote API.
Please try to use the project and let me know if you will have any question or problem.

Best regards, Alexander