Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8572395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:59:56+00:00 2026-06-11T18:59:56+00:00

I am trying to make the transition from ABCpdf07 to ABCpdf8. We use this

  • 0

I am trying to make the transition from ABCpdf07 to ABCpdf8. We use this in methods for printing various shipping labels in PDF format. This generally works, with the exeption of files with images in them. Here is the code used for putting in the html to the Document:

    public void AddHtml(string html, string frame, string nextPageFrame)
    {
        if (string.IsNullOrEmpty(nextPageFrame))
            nextPageFrame = frame;
        Document.Units = UnitType.Mm;
        Document.Rect.String = frame;

        int i = Document.AddImageHtml(html);

        while (true)
        {
            if (!Document.Chainable(i))
                break;
            Document.Page = Document.AddPage();
            Document.Rect.String = nextPageFrame;
            i = Document.AddImageToChain(i);
        }

        for (int j = 1; j <= Document.PageCount; j++)
        {
            Document.PageNumber = j;
            Document.Flatten();
        }
    }

frame and nextFrame are simply values determining how large the pages are. The html works in debugging when I view it in HTML view. But after this method, when the Document gets saved, the images are not shown on the page – in stead there’s the broken-image-icon. The images are saved locally in the project folder (c:\etc…). Have tripple-checked that the links are working.

Really cant wrap my head around why the images aren’t displayed properly. Any help?

Edit:
My xslt document finds the image like this

    <xsl:template match="//TheWrapper">
    ...
    <img class="someClass">
       <xsl:attribute name="src">
          <xsl:value-of select ='LogoLocation' />
       </xsl:attribute>
    </img>
    ...
    </xsl:template>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T18:59:57+00:00Added an answer on June 11, 2026 at 6:59 pm

    It seems version 8 of ABCpdf has another method of passing the images. This is because they wanted to not be dependant on IE (which it loads in the background some time during the processing). I’m not very knowledgable with the details here.

    Anyway – Happened to open the logo filepath in Chrome, and it added ‘file:///’ automatically, so I tried doing that in my code, and it worked! Simply prefix the logo filepaths with ‘file:///’ and everything works fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I’m trying to use the proprietary iPhone Safari properties -webkit-transition and -webkit-transform to make
I am trying to make the transition from using call-template to using applay templates
I'm trying to make a transition from vb.net to C++ and I'm stuck on
I am trying to get shipping quotes from FedEx. I found this library where
Trying to make this jQuery filter that uses .find case-insensitive. For example, when the
Trying to make the infamous checkall checkbox for dynamically created rows from a MySQL
Trying to make a simple number clicker control for BlackBerry 6/7, like this: At
I'm trying to mimic the Camera app transition from the front to back camera..
I am writing a Google Chrome Extension and trying to make the transition to
I'm trying to transition from PHP to Rails and was wondering what the best

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.