Cannot create image from https url
Posted: Mon Apr 14, 2014 9:19 am
It works with http but it fails with https, always return InternetHttpOpenRequestError, I already tried with the both C# and javascript code. My scenario is that I have a website using GDPicture .Net ActiveX v10, I have a self SSL cert created by IIS and make this site binding https, I expecting GDPicture can create image from HTTPs... It worked well with GDPicture v5, but not work with v10
[JavaScript Code]
nImageID = MyImaging.CreateGdPictureImageFromHTTP(ServerName, "images/a.jpg", 443);
or
MyImaging.CreateGdPictureImageFromHTTP("https://ServerName/images/a.jpg", "", "");
MyGdViewer.DisplayFromHTTP_2("https://ServerName/images/a.jpg", "", "");
MyGdViewer.DisplayFromHTTP(ServerName, "images/a.jpg", 443);
[C# Code]
GdPictureImaging oGdPictureImaging = new GdPictureImaging();
int nImageID = oGdPictureImaging.CreateGdPictureImageFromHTTP(ServerName, "/images/a.jpg", 443);
GdPictureStatus status = oGdPictureImaging.GetStat();
All method return InternetHttpOpenRequestError, please help me, btw, I'm still waiting for your minor release to fix thumbnail issue.
[JavaScript Code]
nImageID = MyImaging.CreateGdPictureImageFromHTTP(ServerName, "images/a.jpg", 443);
or
MyImaging.CreateGdPictureImageFromHTTP("https://ServerName/images/a.jpg", "", "");
MyGdViewer.DisplayFromHTTP_2("https://ServerName/images/a.jpg", "", "");
MyGdViewer.DisplayFromHTTP(ServerName, "images/a.jpg", 443);
[C# Code]
GdPictureImaging oGdPictureImaging = new GdPictureImaging();
int nImageID = oGdPictureImaging.CreateGdPictureImageFromHTTP(ServerName, "/images/a.jpg", 443);
GdPictureStatus status = oGdPictureImaging.GetStat();
All method return InternetHttpOpenRequestError, please help me, btw, I'm still waiting for your minor release to fix thumbnail issue.