RE: [PHP] thumbnail of webpage
| From: | Gryffyn, Trevor | Date: | Mon, 20 Sep 2004 18:21:09 +0000 |
| Subject: | RE: [PHP] thumbnail of webpage | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197323@lists.php.net to get a copy of this message | ||
True, you'd have to run it on the web client end, but you can run IE on
the server to access the HTML the server is err..serving. The server
can also be a client, in other words. So your server can generate a
thumbnail of what it's serving out by acting as a client for a second.
As long as their security allows them to execute IE or interface with it
and possibly the windows API.
There are complexities, but it's the path I would explore if I had to
create my own thumbnailing system (in the absence of some quick and easy
utility that already did it).
-TG
> -----Original Message-----
> From: raditha dissanayake [mailto:jabber@raditha.com]
> Sent: Monday, September 20, 2004 12:28 PM
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] thumbnail of webpage
>
>
> Gryffyn, Trevor wrote:
>
> >Some great recommendations, but my first thought is
> wondering if you can
> >interface with IE via COM or something. Or open the URL
> via IE and use
> >the Windows API to do a PRINT SCREEN or ALT-PRINT SCREEN to
> capture it
> >to the clipboard and do something funny that way.
> >
> >
> >
> Good ideas but then you would need to run PHP on the client
> side and not on the server (assuming of course that the original
> poster is not runnig his server on an OS that does not have any
> security features).
>
> There was a similar question on 'the list' and someone suggested and
> image magick would be able to do this.
>
>
> --
> Raditha Dissanayake.