I have a website which is going to generate screenshots with url2png.com. I dont like the fact that every 30 days it needs to re-render all your screenshots, counting towards your limit.
Ideally I'd like to generate them, and when it's complete, I want to save it to my own server and then view it there.
I guess I'm not even really sure where to start, specifically..
How to get them into some kind of queue that will keep working until the image rendered and returned (I used redis/resque/resque_pool before but this was quite complicated and I'm not comfortable taking a very complicated route on this app, as i think it would be used by a lot of people. Id prefer something simpler thats not as easy to screw up)
How to actually fetch the image from rails
How to store the image to a specific directory with a specific filename
How to reference the asset in my actual app
How to handle the screenshots from a model/controller view. Should it just be one extra attribute assigned to Resource, something like Resource.screenshot_url ?
They do provide a Ruby gem but I dont believe I will be using that because its only option is to fetch the image from their server, instead I'm going to be using their URL format to get the image from, then somehow generate my own url.
http://api.url2png.com/v3/<API_KEY>/<TOKEN>/<BOUNDING-BOX>/<URL>