Page 1 of 1

Is it possible to "screenshot" a web page?

Posted: Thu Jul 30, 2009 9:19 pm
by captcadaver
Is this possible? How would you go about doing this? (EDIT: I meant, how can you code this into a web app?)

EDIT: I just removed something that was obviously possible. :P

Thanks!

Re: Is it possible to "screenshot" a web page?

Posted: Thu Jul 30, 2009 9:24 pm
by phphat
You would have to press the Print Screen button which is sometimes abbreviated on the keyboard as "PrntScn".

Re: Is it possible to "screenshot" a web page?

Posted: Thu Jul 30, 2009 9:29 pm
by captcadaver
Haha sorry, I didn't explain at all.

I meant, is it possible to code a print screen function for a web page? For example, you would give a URL and you'd get an image of it back.

Re: Is it possible to "screenshot" a web page?

Posted: Thu Jul 30, 2009 9:31 pm
by jackpf
I tried this once - unsuccessfully. I can't remember where I found the tutorial...I think it is possible though. But only on windows.

You basically have to use a COM object to open internet explorer and take a screenshot. I think that's how anyway...

Sorry I can't be more helpful ^^

Re: Is it possible to "screenshot" a web page?

Posted: Fri Jul 31, 2009 2:22 am
by diptanjan
Hi,

Definitely this is possible. Couple of years back we did something like this but I remember we used some third party tool, which used to generate thumbnail image of homepage of the site url provided. I am not sure if this can be achieved through Php alone.. I think no.

Regards

Diptanjan