the following code works great for adding a nice header and footer to a pdf output, but i'm trying to add an image to the header and footer instead of just page numbers, etc. How would i go about this? Thanks.
$pdf_header = array (
'odd' =>
array (
'R' =>
array (
'content' => '{PAGENO}',
'font-size' => 8,
'font-style' => 'B',
'font-family' => 'DejaVuSansCondensed',
),
'line' => 1,
),
'even' =>
array (
'R' =>
array (
'content' => '{PAGENO}',
'font-size' => 8,
'font-style' => 'B',
'font-family' => 'DejaVuSansCondensed',
),
'line' => 1,
),
);
$pdf_footer = array (
'odd' =>
array (
'R' =>
array (
'content' => '{DATE d.m.Y}',
'font-size' => 8,
'font-style' => 'BI',
'font-family' => 'DejaVuSansCondensed',
),
'C' =>
array (
'content' => '- {PAGENO} / {nb} -',
'font-size' => 8,
'font-style' => '',
'font-family' => '',
),
'L' =>
array (
'content' => get_bloginfo('name'),
'font-size' => 8,
'font-style' => 'BI',
'font-family' => 'DejaVuSansCondensed',
),
'line' => 1,
),
'even' =>
array (
'R' =>
array (
'content' => '{DATE d.m.Y}',
'font-size' => 8,
'font-style' => 'BI',
'font-family' => 'DejaVuSansCondensed',
),
'C' =>
array (
'content' => '- {PAGENO} / {nb} -',
'font-size' => 8,
'font-style' => '',
'font-family' => '',
),
'L' =>
array (
'content' => get_bloginfo('name'),
'font-size' => 8,
'font-style' => 'BI',
'font-family' => 'DejaVuSansCondensed',
),
'line' => 1,
),
);