KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

PDF-Export: Logo (GIF) is not visible #148

Open bysystem opened this topic on on Nov 6, 2017 - 2 comments

bysystem commented on Nov 6, 2017

Dear support team,

I try to embed the company logo as a gif file into the PDF view (see below div class="page-header") but unfortunately it is not visible:

<!DOCTYPE html>
<html>
    <head>
        <title>ADR: Rückstände</title>
	</head>
    <body style="margin:0.5in 1in 0.5in 1in">
		<link rel="stylesheet" href="../koolreport/clients/bootstrap/css/bootstrap.min.css" />
		<link rel="stylesheet" href="../koolreport/clients/bootstrap/css/bootstrap.theme.min.css" />
		<link rel="stylesheet" href="../autorep.css" />  
        <div class="page-header" style="text-align:right"><img src="../images/company_logo.gif" />   <i>ADR-Reporting</i></div>
        <div class="page-footer" style="text-align:right">Seite {pageNum}</div>
        <div class="text-center">
            <h1>ADR: Rückstände</h1>
            <h4>AussenDienstReporting</h4>
        </div>

If I switc the output to the browser (instead of the PDF file) the logo is visible!

What could be the reason?

Kind regards,

KoolReport commented on Nov 6, 2017

Let try to use the absolute url for image. Let me know if it works.

bysystem commented on Nov 6, 2017

Great! The absolute URL for the image works fine for me!

Thx a lot for your quick and competently support!

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
solved

Export