Page 1 of 1

Footer image problem - Phoca PDF

Posted: 19 May 2016, 17:20
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

Re: Footer image problem - Phoca PDF

Posted: 21 May 2016, 15:07
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

Re: Footer image problem - Phoca PDF

Posted: 24 May 2016, 08:52
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.

Re: Footer image problem - Phoca PDF

Posted: 24 May 2016, 23:02
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