News for hackers. Stuff that matters.
Re:Show HN: enter URL, get screenshot and hosted link to image by waterside81 on Sunday September 04, 2011 @08:18PM (#2960658)
Cool, works well. It looks like you have some default viewport size so if content scrolls beneath it, it gets cropped in the image:

Compare:

http://site2pic.com/pics/littleheroes.com9474.png

To:

http://www.littleheroes.com

Care to share how you're doing this? Instrumenting webkit server side?

Edit: Just discovered a ruby program that can be installed with homebrew on OSX (brew install webkit2png). It's a command line call that does the same as this web service:

webkit2png http://www.google.com webkit2png -W 1000 -H 1000 http://www.google.com

(Sorry OP, don't mean to take away your thunder, just thought others might want to try this too.)

Re:Show HN: enter URL, get screenshot and hosted link to image by fduran on Sunday September 04, 2011 @08:27PM (#2960675)
Thanks, all the magic is done with url2png.com, I'm just adding a front-face with Twitter Bootstrap and a Django backend.

(edit) The cropping is because I've started with a 600x600 image, so taller sites will be cropped. I may add different image sizes as options.

Also I'm thinking about adding an editor with Raphaël. Other ideas are welcome.

One of the use-cases (for me) is to be able to quickly send a link to a screenshot to someone (technically challenged) with a button or something circled in red to explain "this is where you need to click".

(edit)I'm aware this can be done with command line, it's just that most people don't know how.

Re:Show HN: enter URL, get screenshot and hosted link to image by pplante on Monday September 05, 2011 @05:37AM (#2961716)
You may be interested in this app: http://code.google.com/p/wkhtmltopdf/

It is more actively developed, and written in C/C++.