Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder d'Anconia's Avatar
    Join Date
    Jan 2010
    Location
    Tempe, AZ
    Posts
    149
    Thanks
    16
    Thanked 6 Times in 6 Posts

    Automating Screenshots of Websites

    So I have a (experimental) website that I'm working on and one feature I'd like to add is the ability for one of my forms to load a (real-time, if possible) screen shot of any website that is entered. Currently I am using a third-party application called "ThumbShots" (http://www.thumbshots.com/) which does this task but is limited to a certain amount of executions per month for free. If I want more I have to pay $.

    So I was wondering if anyone had a rough idea of a method to complete this task. For instance, how do you guys think ThumbShots does it? My initials thoughts are that it will probably be very taxing on my server (assuming that I get it to work). I currently am running this website on a shared server through DreamHost which will probably make this task even more difficult.

    It'd be nice to find a solution that would work in my shared hosting environment but hypothetically if I were to have my own personally hosted server then what method would work best? Are there applications within linux that would be good for this sort of task?

    TLDR: Assuming I'm on a shared server with DreamHost, can I automate the server taking screenshots of websites live? If I weren't on a shared server what would be the best method?
    Datagonia Web (My Portfolio)

    Powerful ideas for all lovers of personal and political freedom:
    Freedomain Radio
    Free Talk Live

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,538
    Thanks
    8
    Thanked 1,093 Times in 1,084 Posts
    You would need your own server, not shared. But there are some webhosts that offer virtual servers that might do it. The server has to have the software to render a website as a browser and save it as an image.

    Edit...
    Something i found...
    https://github.com/ariya/phantomjs/wiki/Screen-Capture


    .
    Last edited by mlseim; 01-14-2014 at 04:44 AM.

  • #3
    Regular Coder d'Anconia's Avatar
    Join Date
    Jan 2010
    Location
    Tempe, AZ
    Posts
    149
    Thanks
    16
    Thanked 6 Times in 6 Posts
    That's essentially what I was expecting. I'll definitely take a look at that link though. Thank you for the response!
    Datagonia Web (My Portfolio)

    Powerful ideas for all lovers of personal and political freedom:
    Freedomain Radio
    Free Talk Live


  •  

    Tags for this Thread

    Posting Permissions

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