Re: Capture homepage screenshot

From: Date: Fri, 13 Jun 2008 20:35:59 +0000
Subject: Re: Capture homepage screenshot
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-275359@lists.php.net to get a copy of this message
On Fri, Jun 13, 2008 at 12:45 PM, Daniel Brown <parasane@gmail.com> wrote: > On Fri, Jun 13, 2008 at 1:46 PM, Shiplu <shiplu.net@gmail.com> wrote: > > Hello, > > How can i capture homepage screenshot of a webpage by php? > > > > I know a way. > > I'll run a executable written in C/C++. when It will be called to process > a > > screen shot It will just load the webpage in firefox and capture the > image. > > It'll send the image path to php. The executable will be running. > > The problem with this solution is, I have to run X, Firefox in my web > > server, which doesn't look efficient for a server. > > > > I wanna know, is there any other way to achieve this? without creating a > > screen shot server. > > There are several commercial options available, but I may put > together a script this afternoon capable of generating thumbnails from > websites. If I do, I'll keep you informed. i already wrote prototype of this about 5 months back. it was really slow and needed more work, but it was working. i can share the code w/ anyone who wants it; but its pretty crappy atm, and has some major dependecies outside of php. anyone who's interested just let me know. btw. im curious to see your implementation dan ;) -nathan

« previous php.general (#275359) next »