how to get preview thumbnail of we page?

Discussion in 'PHP' started by jimbursch, Apr 24, 2009.

  1. #1
    On my profile page there is a thumbnail screen capture of my homepage.

    I would like to add that feature to my web site -- does anyone know what DP used to get that thumbnail?
     
    jimbursch, Apr 24, 2009 IP
  2. sliver

    sliver Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't know what DPers use but if you are running a linux machine you can get a screenshot using xwd command
     
    sliver, Apr 24, 2009 IP
  3. mfscripts

    mfscripts Banned

    Messages:
    319
    Likes Received:
    4
    Best Answers:
    8
    Trophy Points:
    90
    Digital Goods:
    3
    #3
    It's difficult to do using just PHP since you really need a browser to render the page first and then screenshot it + save etc. There are two ways that I would choose from:

    - Using a linux browser programatically via PHP with xwd to take the screenshot.
    - Use a third party API such as shrinktheweb or snapcasa.
     
    mfscripts, Apr 25, 2009 IP
  4. mmikeyy

    mmikeyy Peon

    Messages:
    431
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can always look up thumbalizer, it's a beta app, with a simple api for usage. Or use thumbnails pro, which is found here

    Hope that helps you out.
     
    mmikeyy, Apr 25, 2009 IP
  5. nayes84

    nayes84 Member

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #5
    how can this be done? is it possible to run an application in graphical mode through shell functionality on php?
     
    nayes84, Apr 25, 2009 IP