Footer image problem - Phoca PDF

Phoca PDF - creating PDF documents in Joomla! CMS
wabaw
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 19 May 2016, 17:00

Footer image problem - Phoca PDF

Post by wabaw »

Hello, I have a problem with Phoca PDF.
I put an image in the footer and on page 2 of the PDF, the logo is not at the right place and it's bigger than the normal size.
A link to a sample PDF (the site is not yet public yet) :
http://www.greendog.fr/c2/test-phoca.pdf
It's the same for any page of the site and with another image...

Strange! Is anybody have a clue ?

Thank you for those great extensions Phoca team
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Footer image problem - Phoca PDF

Post by Jan »

Hi, what you mean with "bigger than normal size"

See:
https://www.phoca.cz/phocapdf

the important notice - pdf is static document and html is dynamic document - transforming dynamic document to static is very problematic.

Try to check the real size of the image (if it is not somehow changed in html output - e.g. per css, or styles, this of course cannot be used in PDF). Try to use another html technique to render the footer.

E.g. tables are great to set the right position for the logo

e.g. align center

Code: Select all

+---------+-----------+--------+
|         |    logo   |        |
+---------+-----------+--------+
Jan
If you find Phoca extensions useful, please support the project
wabaw
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 19 May 2016, 17:00

Re: Footer image problem - Phoca PDF

Post by wabaw »

Hello and thank you for the answer.
If you look the sample pdf http://www.greendog.fr/c2/test-phoca.pdf
you see that on page 2 the image in the footer if a lot bigger than the same image on page 1 or 3.
I'm surprised that the problem appears on one page only.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Footer image problem - Phoca PDF

Post by Jan »

Hi, now I see, I overlooked the second site.

Hmmm, do you use some plugins in the text which can somehow destroy the output? What happen, when you add to the article only a text (for three sites), doy you get the same result?

Maybe this can be caused by the table used in content which somehow overflow the site content :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply