mirror of https://github.com/itflow-org/itflow
Use HTML for the logo instead of pdf->image; scales much nicer
This commit is contained in:
parent
98cf2f7a5a
commit
4c604f4009
|
|
@ -1090,8 +1090,12 @@ if (isset($_POST["export_client_pdf"])) {
|
||||||
// Cover page section (for main content, not the TOC)
|
// Cover page section (for main content, not the TOC)
|
||||||
$html .= '<div class="cover">';
|
$html .= '<div class="cover">';
|
||||||
if (!empty($company_logo)) {
|
if (!empty($company_logo)) {
|
||||||
$pdf->Image('../uploads/settings/' . $company_logo, '', '', 35, 35, '', '', 'L', false, 300, '', false, false, 1, false, false, false);
|
//$pdf->Image('../uploads/settings/' . $company_logo, '', '', 35, 35, '', '', 'L', false, 300, '', false, false, 1, false, false, false);
|
||||||
|
$html .= '<div style="text-align:right;">
|
||||||
|
<img src="' . realpath('../uploads/settings/' . $company_logo) . '" width="120">
|
||||||
|
</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$html .= "
|
$html .= "
|
||||||
<h1>IT Documentation</h1>
|
<h1>IT Documentation</h1>
|
||||||
<h2>$client_name</h2>
|
<h2>$client_name</h2>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue