Bingo....  Did a lot of searching and found some code and modify it...

--snip--
      //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--

"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> OIC, saw the forum link at that website...
>
> Thanks...
>  Scott F.
>
> "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Where is that forum??
> >
> > "Jason Wong" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > On Saturday 04 October 2003 04:03, Scott Fletcher wrote:
> > >
> > > >     I tried out the Free PDF Library for creating the PDF at
> > www.fpdf.org
> > > > and it showed the php function, Image() and I read the documentation
> on
> > > > this Image() on what paramenters are being used inside this function
> but
> > > > what I found instead is that the X,Y coordinate is specified only
from
> > the
> > > > upper-left corner.  So, the question is how do I know what is the
> total
> > > > width of a page in PDF, so I can whip up a php code to give me the
> > center
> > > > code of an image and enter it into the Image() function.
> > > >
> > > >     The document showed...
> > > >
> > > > --snip--
> > > > Image(string file, float x, float y, float w [, float h [, string
type
> > [,
> > > > mixed link]]])
> > > > --snip--
> > >
> > > You would be *far* better off asking on the FPDF forum.
> > >
> > > -- 
> > > Jason Wong -> Gremlins Associates -> www.gremlins.biz
> > > Open Source Software Systems Integrators
> > > * Web Design & Hosting * Internet & Intranet Applications Development
*
> > > ------------------------------------------
> > > Search the list archives before you post
> > > http://marc.theaimsgroup.com/?l=php-general
> > > ------------------------------------------
> > > /*
> > > For every credibility gap, there is a gullibility fill.
> > > -- R. Clopton
> > > */

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to