Gallery Demo

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
evvo1961
Posts: 1
Joined: Wed Aug 25, 2021 10:46 am

Gallery Demo

Post by evvo1961 » Wed Aug 25, 2021 12:22 pm

I have just installed GdPicture.Net 14 and am wanting to create something like the gallery demo sample - https://docuvieware-demo.com/gallery_demo.aspx

I have read up on docuvieware and gone through the tutorials utilising restful api and using PostCustomServerAction as a way to retrieve images from a folder location, but cannot see anything in the sample code examples that touch on how to create a gallery such as the above example.

My application is a ASP.NET web application, (framework 4) and the images i will want to show can be pulled from various different locations/systems.

I am also confused as to the differences between docuvieware and gdpicture (gdviewer), and would appreciate any guidance on how i can create this gallery...

User avatar
Fabio
Posts: 125
Joined: Thu Aug 27, 2020 9:57 am

Re: Gallery Demo

Post by Fabio » Mon Aug 30, 2021 2:23 pm

Hello,

Let's start with the differences between DocuVieware and GdPicture!

GdPicture is the heart of the SDK, it will allow you to manage the documents, annotations, OCR, conversions, etc..
DocuVieware is the web controller of GdPicture, it will allow you to display your document on a web page with some extra methods (client and server-side).

The common usage of our solution is to manage the client events and generic methods (such as document save, load, add annotation, etc..) with the javascript methods client-side. And use GdPicture on the server-side for total control of your actions. (for example: convert your PDF to a TIF, use the OCR on a raster image, extract a page and create a new document with it).

The most important thing is the communication between both, the PostCustomServerAction is the method that will allow you to do that.

Here are some helpful links:
DocuVieware events: https://www.docuvieware.com/guides/aspn ... Added.html#
DocuVieware js documentation: https://www.docuvieware.com/guides/aspn ... rview.html
DocuVieware server-side documentation: https://www.docuvieware.com/guides/aspn ... space.html
GdPicture documentation: https://www.gdpicture.com/guides/gdpict ... rview.html

If you have any other questions do not hesitate to ask them!

Now, for the Gallery example, you will find the full example in the installation folder: C:\GdPicture.NET 14\Samples\DocuVieware\aspnet-mvc_razor_app
The sample is in razor but the Gallery.cshtml file provides an explicit explanation about this implementation.

With best,
Fabio

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest