PHP Print Screen

Discussion in 'PHP' started by whirlybird20, Jul 15, 2008.

  1. #1
    Does anyone know how I can make a php script take a snap shot of a specified website, and save it as about 200x200 png, or jpg?

    I know I could use websnapr, but I was wanting something that would run on my own server.

    Thanks!

    Joel
     
    whirlybird20, Jul 15, 2008 IP
  2. Slincon

    Slincon Well-Known Member

    Messages:
    1,319
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    180
    #2
    Well you could just download the images from amazon or websnapr, set the script with fsock to download the image and resize it with GD image functions.

    Here's a script for it anyways,
    http://www.zubrag.com/scripts/website-thumbnail-generator.php
    Requires server access, you'll need to install some mods on your server that'll help it take the pictures.
     
    Slincon, Jul 15, 2008 IP
  3. whirlybird20

    whirlybird20 Guest

    Messages:
    462
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    whirlybird20, Jul 15, 2008 IP
  4. wowla_123

    wowla_123 Peon

    Messages:
    147
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
  5. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #5
    Danltn, Jul 15, 2008 IP