Re: How to center image in PDF (fpdf) using Image() in PHP....
| From: | Marek Kilimajer | Date: | Fri, 03 Oct 2003 21:08:59 +0000 |
| Subject: | Re: How to center image in PDF (fpdf) using Image() in PHP.... | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164987@lists.php.net to get a copy of this message | ||
Scott Fletcher wrote:
Bingo.... Did a lot of searching and found some code and modify it... --snip--Well, you could take a ruler and find out A4 page is 210 milimeters wide without any PHP knowledge.//Logo $size="100"; //(min 0, max 210; it's for making image big or small,nothing else)$absx=(210-$size)/2; $this->Image('images/Logo.jpg',$absx,5,$size);--snip--