Forum Moderators: coopster

Message Too Old, No Replies

thumbshots

thumbshots help

         

crs992

11:27 am on Jun 27, 2006 (gmt 0)

10+ Year Member



is there a php or cgi script that would allow you to give it a url...the script would then get a thumbshot of the url and display a small image of it?
if anyone know how to do this
please help

eelixduppy

5:01 pm on Jun 27, 2006 (gmt 0)



I'm not sure if PHP has these capabilities. Does this have to be entirely dynamic? Can you just create the previews manually? Also, is this approach entirely necessary for what you want? Maybe there is an alternate route.

crs992

5:27 pm on Jun 27, 2006 (gmt 0)

10+ Year Member



I would like it to be automatic, but if there are any other ways to do this, i would like to know too
You said that you dont think php can do this, do you think cgi or perl can?

eeek

7:27 pm on Jun 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



So what you want to do is render the html into an image?

crs992

11:34 pm on Jun 27, 2006 (gmt 0)

10+ Year Member



yeah...
a script when you type [mysite.com...]
and an image would be created and shown of the page
so yes...thats what i would like

adni18

11:41 pm on Jun 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not sure that can be done, unless you're planning on writing an HTML parser in PHP which could take years.

You can probably do it with a shell script or something (open a browser window, get a screencap, save, resize and serve)

[edited by: coopster at 1:34 am (utc) on June 28, 2006]
[edit reason] removed url [/edit]

jatar_k

11:42 pm on Jun 27, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



there are a bunch of scripts around that take screenshots of sites, though I don't remember any

please don't take this as an invitation to start dropping urls ;)

coopster

1:36 am on Jun 28, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



There is a thread here on WebmasterWorld that answers How can i create screenshot of url? [webmasterworld.com] Perhaps that will help.