Live data from Hacker News

Show HN: Embed Full-Page Screenshots in any Blog / App / Whatever

url2picture.com

41–46 of 46 posts

Re: Show HN: Embed Full-Page Screenshots in any Blog / App / Whatever

#41
post #10
post #7

Earlier quoted context omitted.

Sure you could, but then why would one go through all the hassle just to get a (probably already cached) screenshot?

well, for starters, I could use your (paid) account to get free screenshots.

But if you knew how to do that then you could probably set up webkit2png in a tenth of the time.

Re: Show HN: Embed Full-Page Screenshots in any Blog / App / Whatever

#42
post #36

Niggling feedback: This is a tool for developers, it's awesome that you have code on the homepage but I'd like to see that code: - Formatted in a way that I can read it without scrolling - Not using capitalized variables

In PHP it's a good practice to capitalize variables when they are "static". (Not LITERAL static)

Re: Show HN: Embed Full-Page Screenshots in any Blog / App / Whatever

#43
post #10

Earlier quoted context omitted.

well, for starters, I could use your (paid) account to get free screenshots.

But if you knew how to do that then you could probably set up webkit2png in a tenth of the time.

True, but what you are saying is only complex applications need to be secure?

Re: Show HN: Embed Full-Page Screenshots in any Blog / App / Whatever

#44
post #34

I see you have an option to crop the image... but what about offsetting the crop? I've looked at a few of these services and no one seems to give that option. I can process it myself but it would be nice to do it in one api call. For example set viewport to 1200 x 1900, crop to 300 x 400 at 500px from the top and 300px from the left. Or some coordinates from top and center perhaps...

I've added this to the to-do list...

Re: Show HN: Embed Full-Page Screenshots in any Blog / App / Whatever

#45

You clearly were not ready for production. Please take your SaaS product offline and fix it. 1) A Recursion vulnerability exists within your app - if I use your PHP sample code to take a a screenshot of itself, your service blows up. 2) You embed a fully usable API key and token in your landing page. Line 254 and 255: var urlPart = "apikey=6101EE5C99B145ECB79B4125BED74D19&url=" + $('#tryurl').val() + "&thumbnail_widt…

You're right, I've added both to our bug list. Thanks for pointing that out!
Post reply on HN