Re: Thumb nail of a web page

From: Date: Sat, 10 Aug 2002 15:38:00 +0000
Subject: Re: Thumb nail of a web page
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-111948@lists.php.net to get a copy of this message
> 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" <php-general@gremlins.com.hk> escreveu na mensagem news:200208101156.25805.php-general@gremlins.com.hk... > 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 > */ >

« previous php.general (#111948) next »