You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please integrate the following function into the CPDF.php class? I would like to incorporate an image into the footer of all pages similar to the page_text function, as soon as possible.
public function page_image($img, $x, $y, $w, $h, $style = [])
{
$this->processPageScript(function (int $pageNumber, int $pageCount) use ($img, $x, $y, $w, $h, $style) {
$this->image($img, $x, $y, $w, $h);
});
}
The text was updated successfully, but these errors were encountered:
bsweeney
changed the title
"Request for Integration: Add Function to CPDF Class for Adding Footer Images to All Pages"
Request for Integration: Add Function to CPDF Class for Adding Footer Images to All Pages
Mar 3, 2024
Is this something you need to do through Cpdf? An image can be easily placed on all pages by styling it position: fixed. And even if you need to do it through the adapter you do not need a new method. There are a few ways you can achieve the same result, such as through page_script.
Could you please integrate the following function into the CPDF.php class? I would like to incorporate an image into the footer of all pages similar to the page_text function, as soon as possible.
The text was updated successfully, but these errors were encountered: