ABCpdf7 Not Rendering Images using AddImageUrl
- by ddango
Fairly exotic it seems to me. We recently upgraded/migrated from Windows Server 2003 to 2008, and now it seems that images cannot be rendered when using Doc.AddImageUrl(). (when the pdf is saved, the images appear at the correct dimensions, but the IE8 missing image x shows up).
If I understand correctly, ABCpdf uses IE rendering internally for this sort of thing.
We thought it might be a permission issue, but we've check IE ESC and that seems to be configured as they suggest. Has anyone else run into a similar problem? Perhaps a code configuration is needed?
Not the entire snippet, but the ABCpdf7 stuff:
using (Doc doc = new Doc())
{
doc.HtmlOptions.PageCacheEnabled = false;
doc.HtmlOptions.UseNoCache = true;
doc.HtmlOptions.PageCacheClear();
doc.HtmlOptions.PageCachePurge();
doc.HtmlOptions.UseResync = true;
doc.HtmlOptions.ImageQuality = 25;
int pageID = doc.AddImageUrl(url + "&guid=" + url.GetHashCode());
while (true)
{
if (!doc.Chainable(pageID))
break;
doc.Page = doc.AddPage();
pageID = doc.AddImageToChain(pageID);
}
// file saving etc.
}