Results 1 to 8 of 8
-
09-08-2008, 04:29 PM #1Web Hosting Master
- Join Date
- May 2005
- Location
- Woking, England
- Posts
- 1,401
php website taking screenshots of other websites...
I'd like to be able to take a screen shot, similar to the small thumbnail of the mix stream site like webhostingstuff.com has. I've seen a few other sites with something similar and I wouldn't mind being able to use it myself.
http://www.webhostingstuff.com/review/MixStreamnet.html
Anyone point me in the right direction? Cheers.Web Handyman - Website and Internet Marketing Service
-
09-09-2008, 11:11 AM #2Newbie
- Join Date
- Aug 2008
- Location
- Sain t John, NB
- Posts
- 16
iecapt
This should get you going in the right direction. This task is easier on a windows machine at the moment.
I am not able to post a link but you want the iecapt project at sourceforge.
-
09-09-2008, 11:38 AM #3Web Hosting Master
- Join Date
- Apr 2003
- Location
- Los Angeles, CA
- Posts
- 820
On the Linux platform you could do it along these lines (didn't try it):
1) Start a VNC server
2) Start Firefox on the VNC virtual display, providing the URL (or file) at the command line to display
3) Grab a snapshot of the VNC display
4) Crop the title/menu/status with say imagemagick
5) Kill Firefox and the VNC server (or reuse them)
In theory it should work fine.Pings <1 ms, Unlimited Transfer, Lowest Price: http://localhost/
-
09-09-2008, 12:18 PM #4WHT Addict
- Join Date
- Jul 2005
- Location
- Quebec, Canada
- Posts
- 128
Google for "dynamic thumbnails from websites" and you'll find a LOTS of results on how to achieve this.
Basically, some services offer this for free (I'm thinking girafa.com here, but there are others), or you can code something up yourself that will "take" a thumbnail of the websites you want.
Good luck!
-
09-09-2008, 02:54 PM #5Web Hosting Master
- Join Date
- May 2005
- Location
- Woking, England
- Posts
- 1,401
Web Handyman - Website and Internet Marketing Service
-
09-10-2008, 09:26 AM #6Newbie
- Join Date
- Aug 2008
- Location
- Sain t John, NB
- Posts
- 16
khtml2png
I did some more digging and khtml2png seems to be an option for *nix operating systems?
-
09-10-2008, 11:56 AM #7Web Hosting Master
- Join Date
- Apr 2003
- Location
- Los Angeles, CA
- Posts
- 820
-
09-11-2008, 02:10 PM #8Web Hosting Master
- Join Date
- May 2005
- Location
- Woking, England
- Posts
- 1,401
Web Handyman - Website and Internet Marketing Service