On Fri, Jun 13, 2008 at 12:45 PM, Daniel Brown <parasane@xxxxxxxxx> wrote: > On Fri, Jun 13, 2008 at 1:46 PM, Shiplu <shiplu.net@xxxxxxxxx> 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