ASP.NET MVC & HTML remote source pdf reader

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
gertgjoka
Posts: 1
Joined: Tue Sep 05, 2017 6:13 pm

ASP.NET MVC & HTML remote source pdf reader

Post by gertgjoka »

Hello,

I am using the WebImageViewerJS as described here: https://www.vintasoft.com/docs/vsimagin ... 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)?
Thanks
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

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

Post by Alex »

Hello,

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:
https://www.vintasoft.com/forums/viewto ... =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
Post Reply