Results 1 to 8 of 8
  1. #1
    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

  2. #2
    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.

  3. #3
    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/

  4. #4
    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!

  5. #5
    Join Date
    May 2005
    Location
    Woking, England
    Posts
    1,401
    Quote Originally Posted by chilifish View Post
    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.
    Windows' isn't a possibility but thanks

    Quote Originally Posted by luki View Post
    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.
    Again not possible, and it should be automated.

    Quote Originally Posted by AntX View Post
    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!
    Sounds like the right thing...the one which does it for me (not coding it haha) Cheers
    Web Handyman - Website and Internet Marketing Service

  6. #6
    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?

  7. #7
    Join Date
    Apr 2003
    Location
    Los Angeles, CA
    Posts
    820
    Quote Originally Posted by thomase View Post
    Again not possible, and it should be automated.
    And who said it cannot be automated? Of course it can. It can all be run and controlled from one script...
    Pings <1 ms, Unlimited Transfer, Lowest Price: http://localhost/

  8. #8
    Join Date
    May 2005
    Location
    Woking, England
    Posts
    1,401
    Quote Originally Posted by luki View Post
    And who said it cannot be automated? Of course it can. It can all be run and controlled from one script...
    I'm sure it could be done (just not by me) thanks for the help everyone still!
    Web Handyman - Website and Internet Marketing Service

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •