Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image in cell #118

Open
ginesgu opened this issue Oct 22, 2024 · 0 comments
Open

Image in cell #118

ginesgu opened this issue Oct 22, 2024 · 0 comments

Comments

@ginesgu
Copy link

ginesgu commented Oct 22, 2024

Hello everyone,

I am putting an image inside a cell, but something strange happens to me, the image appears but also a number printed in the cell. Does anyone know why this could be? This only happens when I add the image, without it it doesn't show it.

The code I use is the following:
$pdf->Cell(30, 80, $pdf->Image('images/foto.png', $pdf->GetX(), $pdf->GetY()-10,'',''), 1, 0, 'C', FALSE, '', 0, FALSE, 'C', 'B');

Attached capture
tcpdf_cell

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant