Web Hosting Talk







View Full Version : php screenshots


Angelo
08-14-2006, 12:34 PM
What is the method for generating web thumbshots on the fly with php?
I found a tool for that, they provide like
<img src="http//URL/tool.php?site=xxx.com&width=xx&height=yy"> and a like.
However i want to save the image to my server. Is there any way to save that image tagged in img src's ?

Mark S
08-14-2006, 12:55 PM
What is the method for generating web thumbshots on the fly with php?
I found a tool for that, they provide like
<img src="http//URL/tool.php?site=xxx.com&width=xx&height=yy"> and a like.
However i want to save the image to my server. Is there any way to save that image tagged in img src's ?
You could simply use GNU's wget via the command line/etc.

Angelo
08-14-2006, 01:38 PM
I cant use system() on all systems. Maybe Imagecreatefromjpeg(URL) can work?