GDViewer DisplayFromURL Support

Discussions about document viewing.
Post Reply
stormgale
Posts: 2
Joined: Fri Oct 22, 2010 3:42 pm

GDViewer DisplayFromURL Support

Post by stormgale » Fri Oct 22, 2010 3:52 pm

Hi,

I am current evaluting a demo version of GD Viewer Pro version 4.12.16, with a view to a full purchase.

However, the DisplayFromURL doesn't seem to be working when the images are held on folder on HTTPS (Noting: a test site with identical structure and code works using http).

What actions are required to make this work, For example, are there settings on the target image folder that need to be altered?

Kind Regards

David

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: GDViewer DisplayFromURL Support

Post by Loïc » Sat Oct 23, 2010 7:49 pm

Hi,

Please give us a code snippet you are using to investigate the problem.
Also check you are using the port 443 for https usage.

Kind regards,

Loïc

stormgale
Posts: 2
Joined: Fri Oct 22, 2010 3:42 pm

Re: GDViewer DisplayFromURL Support

Post by stormgale » Tue Oct 26, 2010 10:39 am

I can confirm that the SSL port is 443

Please find below code snipt used for testing ..

<script type="text/javascript">

MyGdViewer.CloseImage();
MyGdViewer.ZoomMode = 2;
MyGdViewer.DisplayFromURL("https://myIPAddress", "/images/myImage.jpg");

</script>

and in the body

<div>
<object id="MyGdViewer" type="application/x-oleobject" classid="CLSID:60ABA913-9C5B-4542-A97F-AFE1F26FD9AE" width="800" height="600" style="z-index:0">
<param name="BackColor" value="16777215"/>
<param name="BorderStyle" value="0"/>
<param name="ZoomMode" value="2"/>
<param name="PdfDpiRendering" value="200"/>
<param name="LicenseKey" value="myLicenseKey"/>
</object>
</div>

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: GDViewer DisplayFromURL Support

Post by Loïc » Tue Oct 26, 2010 11:34 am

Hi,

You are not using ssl port...
Try to replace

Code: Select all

MyGdViewer.DisplayFromURL("https://myIPAddress", "/images/myImage.jpg");
by

Code: Select all

MyGdViewer.DisplayFromURL("https://myIPAddress", "/images/myImage.jpg", 443);
Hope this helps.

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest