Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

Most missing images in an EvoPdf HTML-string conversion come down to URL context: a relative path such as images/logo.png has no page address to resolve against when the HTML is passed as a string. Pass the correct base URL as the second argument to ConvertHtml, add a <base href="..."> element, or use an absolute image URL. If that does not fix it, check whether the conversion process can access the image and whether the image is available when conversion runs.

Give relative image paths a base URL

An HTML file loaded from a website has a location that gives the browser context for resolving relative paths. An HTML string passed to EvoPdf does not automatically have that context. The converter therefore cannot infer where a path such as images/logo.png is supposed to point.

Pass the directory or page URL that makes the relative path valid as the second argument to ConvertHtml. EvoPdf documents this base URL as context for relative references to images, CSS, JavaScript, and web fonts.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
string html = "<html><head></head><body>" +
              "<img src="images/logo.png" alt="Logo">" +
              "</body></html>";

string baseUrl = "https://example.com/reports/";
byte[] pdf = converter.ConvertHtml(html, baseUrl);

With that base URL, the relative image path resolves under https://example.com/reports/. Choose a base URL that matches the resource layout: if the image is actually at https://example.com/assets/images/logo.png, a base URL of https://example.com/reports/ will not make images/logo.png point there. Adjust either the base URL or the path so their combination identifies the real image.

#1 Best Overall
Epson EcoTank ET-2800 Wireless Color All-in-One Supertank Printer - Black
  • INNOVATIVE CARTRIDGE-FREE PRINTING — No more dealing with lots of tiny ink cartridges; With this wireless document and photo printer each ink bottle set is equivalent to about 90 individual cartridges²
  • LESS FREQUENT INK REPLACEMENT — Replacement ink bottles don't have to be changed nearly as often as ink cartridges¹; When you choose this combination printer, scanner and copier you can print up to 4,500 pages black/7,500 color³
  • COLOR PRINTING — Up to 2 years of ink in the box4 (and with every replacement ink set) for fewer out-of-ink frustrations
  • ZERO CARTRIDGE WASTE — By using an Epson EcoTank printer you can help reduce the amount of cartridge waste ending up in landfills
  • HOME PRINTER DESIGNED FOR RELIABILITY — The Epson EcoTank ET-2800 All-in-One Supertank Color Printer creates vivid, detailed prints and documents thanks to Micro Piezo Heat-Free Technology; Fire off 10 ISO pages per minute1 to easily finish large jobs

Use a directory base when paths are directory-relative

When the base represents a directory, include its trailing slash. A URL ending in a file-like segment and one ending in a slash can produce different relative paths. For example, a base of https://example.com/reports/ is appropriate when images/logo.png should be found in a child directory of reports. The base URL is not merely the website’s home page; it must correspond to the location that makes the references in this particular HTML valid.

Alternative: add a base element

You can put a <base href="..."> element in the document head instead of passing the base as a method argument. Use one approach consistently and ensure the document has a head element:

string html = "<html><head>" +
              "<base href="https://example.com/reports/">" +
              "</head><body>" +
              "<img src="images/logo.png" alt="Logo">" +
              "</body></html>";

byte[] pdf = converter.ConvertHtml(html);

Another option is to write the full URL directly in each src attribute. That removes the need for relative-path resolution, but it does not make a private, unavailable, or otherwise inaccessible image reachable by the conversion process.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Or skip the browser setup

If what you need is a screenshot of a web page rather than an EvoPdf-generated PDF, ScreenshotNeo can return an image from one GET request. It is not a replacement for HTML-string-to-PDF conversion: use EvoPdf when the deliverable needs to be a PDF. ScreenshotNeo can be useful when the desired output is a page image and you would rather not manage browser capture setup.

Rank #2
Sale
Epson EcoTank Photo ET-8550 Wireless Wide-Format All-in-One Tank Printer
  • CARTRIDGE-FREE PRINTING — Print lab-quality photos, graphics and creative projects; Get vibrant colors and sharp text with Epson's high-accuracy printhead and Claria ET Premium 6-color inks
  • INK BOTTLES — Save on photos1 and creative projects with affordable in-house printing; All-in-one printer allows you to print 4" x 6" photos for about 4 cents each vs. 40 cents with traditional ink cartridges1
  • LESS FREQUENT INK REPLACEMENT — Replacement ink bottles don't have to be changed nearly as often as ink cartridges¹; Printer, scanner and copier lets you print up to 6,200 color pages³
  • PRINT FOR LONGER — Up to 2 years of ink in the box² (and with every replacement ink set) for fewer out-of-ink frustrations with this wireless printer
  • ZERO CARTRIDGE WASTE — Epson EcoTank printer helps reduce the amount of cartridge waste ending up in landfills; Cartridge-free printer uses high-yield ink bottles; Each replacement ink bottle set is equivalent to about 100 individual ink cartridges⁴

For example, this cURL request saves a WebP screenshot of a page:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo documentation for API details. Before capture, ScreenshotNeo accepts cookie or consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each of those steps can be turned off. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers report the page verdict and billing status. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for Claude, Cursor, and other MCP clients.

The Free plan includes 1,000 screenshots a month with no card; paid plans start at $5 for 3,000 screenshots. Those plan counts and prices are monthly; yearly billing gives two months free, and every feature is available on every plan. Sign up for 1,000 free screenshots a month with no card.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Verify the image from the converter’s machine

A correct-looking URL in your code is not proof that EvoPdf can retrieve the resource. Image requests are made by the conversion process, so a URL that opens in your workstation browser may still fail from the machine running conversion. EvoPdf support recommends constructing the expected full image URL and opening it from that machine.

  1. Combine the base URL and relative image path into the full URL you expect the converter to use.
  2. From the conversion host, try to access that exact image URL. Check that it resolves and returns the image rather than an error, sign-in page, or empty response.
  3. If it is not reachable, investigate DNS, firewall or proxy rules, TLS, and server-side permissions for that host.
  4. Once the resource can be retrieved from the conversion environment, run the same conversion again to distinguish a reachability problem from a URL-resolution problem.

Test under the same environment and identity as the conversion job where possible. A successful test from a developer account does not establish that a service or scheduled process has the same access.

Rank #3
HP Smart Tank 5000 Wireless All-in-One Ink Tank Printer, Scanner, Copier with 2 Years of Ink Included, Best-for-Home, Cartridge-Free, Refillable and AI-Enabled. (5D1B6A)
  • SET IT UP ONCE AND PRINT WITH CONFIDENCE. No complicated maintenance. Just easy, reliable printing you can count on.
  • INK FOR YEARS. NOT MONTHS. Up to 2 years of ink included. Get thousands of pages of cartridge-free printing. More pages, less hassle
  • KEEPS PRINTING WELL AFTER COMPETITORS HAVE QUIT. No complex maintenance. Sharper text, richer colors.[2] Only with HP Smart Tank
  • PREMIUM SUPPORT - Strong technical expertise to solve issues faster
  • THE LAST PRINTER YOU'LL EVER NEED. Enjoy years of refillable, cartridge-free printing.

Check authentication and local-file access

Images behind authentication

An image URL can be valid but still return no usable image to an unauthenticated request. EvoPdf notes that image and CSS requests may require HTTP or forms authentication. Configure the converter’s authentication options or forward the request cookies or headers that the image server requires. The request used for the image must have access; being logged in to a separate browser session does not by itself supply credentials to the converter.

When diagnosing this case, first test the resource from the conversion host with the same authentication conditions as the conversion. If the direct request is denied, correct the access configuration rather than changing the image’s relative path. For forms-based access, make sure the required session information is available to the resource request.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Images stored on disk

For local assets, use a file URL such as file:///C:/images/image.jpg, and ensure the account running the conversion process can read that location. The file’s presence on a developer’s computer is not enough if the converter runs under another account or on another machine. Check the path and file permissions from the conversion environment.

Use a web base URL for web-hosted resources and a file URL for local assets; do not expect a relative web path to resolve to an arbitrary local directory. Keep the URL form aligned with where the image actually lives.

Rank #4
NDYIN Portable Printers Wireless for Travel, N80 Bluetooth Thermal Printer
  • Wireless Bluetooth Printer: Portable thermal printer compatible with iPhone, Android phones, iPad and tablet computers via Bluetooth. For smartphones, please download the "Nada Print" App. You can also connect to laptops and computers for printing using a USB-C cable. (Note: Laptops and computers can only be connected via USB and require the installation of a driver first. Bluetooth connection is not supported.)
  • No-ink printing: Only supports US Letter and A4 size thermal paper.(Doesn't support regular paper) The no-ink portable thermal printer uses direct thermal technology, requiring no ink, toner or ribbons, making it environmentally friendly, cost-effective and time-saving. The thermal printer package comes with a roll of US Letter thermal printing paper. Note: When installing the paper, remember to switch the paper size switch on APP
  • Clear Print: NDYIN N80 portable thermal printer adopts high-definition printing technology, with a 203DPI resolution to provide you with clear printing results. This mobile printer is compatible with roll paper, folded paper and tattoo transfer paper, supporting printing from your mobile phone PDF, Word, pictures and web pages anytime and anywhere. It is recommended to use our NDYIN thermal paper to achieve good printing quality
  • Portable wireless printer for travel: The thermal printer is equipped with a built-in 1500mAh rechargeable battery, which can print 160 sheets of 8.5" x 11" thermal paper after being fully charged. It weighs only 1.5 pounds and is compact in size. This ink-free portable printer can be easily carried in a backpack or briefcase! It is perfect for business travel, cars, small offices, construction sites, schools and homes. You can print documents, contracts, invoices and boarding passes anytime and anywhere
  • The N80 thermal printer has a wide range of uses. The package includes the N80 printer, a roll of US Letter paper(7m/roll), a user manual, a guide card, a type-C soft cable and a type C adapter. Note: The charging adapter is not included. Special thermal paper is required for use; ordinary paper cannot be used. This ink-free portable thermal printer is suitable for various scenarios such as home, school, travel, office, and outdoor, meeting the printing needs of different groups of people. This tattoo template printer is also compatible with tattoo transfer paper, making it an ideal choice for tattoo art
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Account for lazy-loaded and JavaScript-generated images

Some pages do not expose every image immediately in their initial HTML. A lazy-loaded image may be requested only as the page is prepared for display, while JavaScript may create or update an image after the initial load. In those cases, a correct URL alone may not be sufficient: the content must also be available before the converter captures the result.

Lazy loading

EvoPdf Next documents HtmlToPdfConverterLoadLazyImages as enabled by default and provides a lazy-image load mode. If a page’s images are lazy-loaded, check that lazy-image loading remains enabled and review the applicable mode for the EvoPdf Next version in use. The documented default applies specifically to EvoPdf Next; do not assume the same setting or default for every EvoPdf edition or version.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

JavaScript that updates the page

If script-generated images are missing because the content is not ready when conversion begins, increase ConversionDelay and check whether that gives the page time to populate. A fixed delay is a timing allowance, not proof that the content is ready on every run. Where waiting a fixed amount is unreliable, EvoPdf documents manual triggering: arrange for the page to call evoPdfConverter_startConversion() after its content is ready.

Use the smallest timing or loading change that matches the symptom. If an ordinary, publicly accessible image is absent from an otherwise static HTML string, fix its URL context first; do not start by adding a delay.

Troubleshoot by symptom

Symptom Likely cause What to check
A relative src is missing The HTML string has no page context, or its base URL points to the wrong directory. Pass the correct second argument to ConvertHtml, add a matching <base href>, or use the absolute URL. Verify the resolved full URL.
An absolute web URL is blank in the PDF The conversion host cannot retrieve it, or the request is denied. Open the image URL from the conversion machine; check DNS, firewall or proxy rules, TLS, permissions, and authentication.
A local image works for a developer but not in the job The path is not available to the conversion process or its account lacks read access. Use a valid file URL and verify that the process account can read that exact file.
Only some images on a page are missing Those images may use different paths, access rules, or loading behavior. Inspect each missing image’s resolved URL and compare its reachability, authentication, and whether it is lazy-loaded or script-generated.
An image appears only after the page has settled It is lazy-loaded or created or updated by JavaScript after initial load. Check the lazy-image setting and mode in EvoPdf Next, or allow time with ConversionDelay; use manual triggering when a fixed delay is unreliable.
The image URL opens in a browser but not in conversion The browser and converter may be running on different machines or under different network and authentication conditions. Test from the converter host and identity, not only from the workstation browser.

A practical order for fixing the problem

  1. Inspect the HTML. Identify whether each missing image uses a relative path, absolute web URL, or local file URL.
  2. Resolve relative paths. For an HTML string, pass a suitable base URL to ConvertHtml, use a <base href>, or make the image URL absolute. Confirm that the final URL matches the asset’s actual location.
  3. Test access where conversion runs. Verify network reachability, server response, and any required authentication from the conversion environment.
  4. Check file permissions for local images. Confirm that the converter account can read the file indicated by the file URL.
  5. Check timing only when the page needs it. For lazy or script-generated images, verify the applicable lazy-image behavior or wait for readiness using a delay or manual triggering.
  6. Change one cause at a time. Retest after each change so you can tell whether the failure was URL resolution, access control, local permissions, or timing.

Reliability and operating considerations

For a stable conversion, make the source of each image explicit and ensure the conversion host can reach it under the credentials and permissions available to the job. This reduces dependence on a developer’s browser session or local machine. If content appears asynchronously, a fixed wait can vary with page behavior; a readiness-triggered conversion is the more direct fit when the page can signal that it is ready.

The available EvoPdf guidance for this issue does not establish a particular delay value, performance penalty, or cost for these remedies. Treat a delay as a responsiveness trade-off to evaluate in your own workload rather than applying an arbitrary number. Likewise, test external resource access and authentication in the environment where conversions actually run; success from another network or account does not establish equivalent reliability.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.