> This would be a major task. You would have to write a complete HTML
renderer
> in PHP.

  Perhaps you can cheat and let other programs do all the work ;-)

  Open a page with the browser and take a "screenshot", all using php's
exec(). Then trim the browser's border and toolbars using the gd module. The
problem is getting to know if (and how much) you need to scroll down to see
the rest of the content...

--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br


"Jason Wong" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Saturday 10 August 2002 05:03, Henry wrote:
> > Hi All,
> >
> > Just out of interest, does anyone know of a way to generate a thumb nail
of
> > a web page given a URL?
>
> This would be a major task. You would have to write a complete HTML
renderer
> in PHP. Maybe some clever soul could write a library that interfaces to
> Mozilla's gecko engine.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
> /*
> Nothing matters very much, and few things matter at all.
> -- Arthur Balfour
> */
>



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

Reply via email to