News for hackers. Stuff that matters.
Re:Resize.ly – Images resized, responsive, and retina ready by mtmail on Thursday August 13, 2015 @06:29AM (#10053197)
I'm in the market for such a solution and it's interesting how many services go stale or miscalculate their bandwidth costs (if they offer hosting) and close.

Resize.ly is copyright 2013, still in beta and offer unlimited for $9.

http://imagefly.io/ looks a bit more grown up but it's copyright 2013 as well, last blog post over two years ago, last tweet over a year ago.

http://6px.io/ seems more active.

I'm tending towards http://www.imgix.com/

All solve resizing-as-service, I just want to make sure to use a service that's still around in a couple of years for my projects.

Re:Resize.ly – Images resized, responsive, and retina ready by randall on Thursday August 13, 2015 @07:45AM (#10053438)
Nearly anonymous "my friend works there" posts aren't a ton of help, but I'll just say my buddy Kelly (https://twitter.com/kellysutton) works on Imigix, he used to work on this dropbox for PSDs thing (layervault) and he's awesome, so I'd tend to believe that imgix is awesome by association alone.
Re:Resize.ly – Images resized, responsive, and retina ready by gingerlime on Thursday August 13, 2015 @10:03AM (#10054233)
We switched to imgix recently (after using pre-processed versions using carrierwave / ImageMagick / cloudfront), and it works pretty well for us. There were a few odd glitches setting up, but once it's up and running it seems to do really well.

One neat feature of imgix is its auto format, which converts images to webp/progressive Jpeg on-the-fly based on the browser headers[0].

I'm not associated in any way with imgix, just a fairly new customer.

[0]http://blog.imgix.com/post/90838796454/webp-jpeg-xr-progress...

Re:Resize.ly – Images resized, responsive, and retina ready by joeshaw on Thursday August 13, 2015 @02:23PM (#10056195)
I'm one of the developers of http://imagefly.io. We are still very much active and doing development on the service. We have paying customers and our own photo products depend heavily on the service.

We clearly need to update the copyright info on the page and make some new blog posts!

Re:Resize.ly – Images resized, responsive, and retina ready by diarmuidie on Thursday August 13, 2015 @10:44AM (#10054566)
I'm working on a PHP based solution for some personal projects ATM.

Feel free to check it out: https://github.com/diarmuidie/ImageRack

The big difference between ImageRack and most others solutions is that you pre-define the available image manipulations templates on the server side (for example a template for thumbnails, large images, iPad sizes etc.). I'm not a fan of letting the client generate multiple versions of an image by changing the URL (i.e. http://resize.ly/450x150/http://resize.ly/img/kittens/kitty-...).

Re:Resize.ly – Images resized, responsive, and retina ready by luckystarr on Thursday August 13, 2015 @07:07AM (#10053320)
http://cloudinary.com/ seem to be doing fine.
Re:Resize.ly – Images resized, responsive, and retina ready by JohnyLy on Thursday August 13, 2015 @07:02AM (#10053307)
Thanks for those links (Especially the last one). Resize.ly is just beta, so let's see what they come up with in the near future. On another hand, I hope there will be a resizing/compressing service inspired by Pied Piper (Silicon Valley series) sometime soon.
Re:Resize.ly – Images resized, responsive, and retina ready by reasonishy on Thursday August 13, 2015 @07:42AM (#10053424)
Alternative:

* Spin up a VPS somewhere for a few dollars a month.

* Install thumbor

Re:Resize.ly – Images resized, responsive, and retina ready by boyter on Thursday August 13, 2015 @07:51AM (#10053454)
Sounds good till you get to maintenance and scaling. Thumbor isn't as install and forget if you value being able to recreate the environment from scratch, scale out, rotate and secure the keys, solve tmp directory issues, ensure availability etc...

Having just finished several months of working with and tweaking thumbor for a large volume website I can see how just paying for a service would be appealing.

Re:Resize.ly – Images resized, responsive, and retina ready by mryan on Thursday August 13, 2015 @08:36AM (#10053637)
Would you mind sharing some detail about the issues you had with tmp dirs and availability? I deployed Thumbor a few months ago and it's been pretty much install and forget. I'm curious about what issues I might have in future as it scales.
Re:Resize.ly – Images resized, responsive, and retina ready by boyter on Thursday August 13, 2015 @05:25PM (#10057295)
Sure. For the record the Thumbor cluster I was working on needed to have 100% uptime and be configured to mitigate any potentially DDoS situation even if the secret key was leaked. It also needed facial detection and GIF (animation) resizing support.

The tmp directory is never emptied unless you restart the machine. So to get around this you have to write a cron job to remove the older downloaded and resized images. However in my load tests this caused issues with Thumbor and so I ended up having the cron job only delete files over a certain age. However this still leaves the possibility that Thumbor could fill up the entire disk and crash the machine.

Other issues were having the ability to rotate the Thumbor key. This is somewhat supported by Thumbor, in that the previous keys images will still be available but the key rotation is not done for you. I was using AWS so stored the key in a protected s3 bucket and gave roles access to pull the key and when it detected it was modified restart Thumbor.

The last an main issue was the ability to spin up a new version of Thumbor itself. In the time it took me to get it from development through to production the dependancies changed so much that facial detection broke halfway though. I fixed this initially by freezing the pip dependancies but then the underlying dependancies caused issue at a later day. In short I was unable to spin up a new version which was identical to the previous. Generally were I work we tear down and spin up fresh instances all the time so this was an issue. We resolved this by installing Thumbor in a docker container.

Don't get me wrong. A big fan of Thumbor and it was the right solution for what I needed to do but these issues really made myself and others considering paying a 3rd party for a while.

Re:Resize.ly – Images resized, responsive, and retina ready by mryan on Friday August 14, 2015 @02:15AM (#10058872)
Thanks for elaborating, I appreciate it. I don't think my installation is getting enough load to see these tmp issues yet, but good to know what I might have to deal with in future. I agree that with so many dependencies, Thumbor is a great candidate for deploying with Docker.

Btw, I didn't realise you were the searchcode.com guy, great site!

Re:Resize.ly – Images resized, responsive, and retina ready by boyter on Friday August 14, 2015 @05:30AM (#10059285)
If you happen to restart now and then it shouldn't be a huge issue.

Yes thats me! Thank you!

Re:Resize.ly – Images resized, responsive, and retina ready by onion2k on Thursday August 13, 2015 @08:03AM (#10053500)
Thumbor isn't as install and forget if you value being able to recreate the environment from scratch, scale out, rotate and secure the keys, solve tmp directory issues, ensure availability etc...

Nothing is install-and-forget if you value those things, because valuing those things is the opposite of wanting install-and-forget software.

Re:Resize.ly – Images resized, responsive, and retina ready by boyter on Thursday August 13, 2015 @05:29PM (#10057326)
True.

But if someone is asking to pay to take away the pain the probably do value some of those things, hence paying for some install and forget service.

Re:Resize.ly – Images resized, responsive, and retina ready by reasonishy on Thursday August 13, 2015 @09:54AM (#10054149)
I've been running it for months without issues. Yes every so often it fills up the /tmp directory - setup a cronjob or something, but it is basically install and forget.

(My install gets maybe 10-20 requests a second, so maybe I'm at the low end of usage I don't know, but it works fine for me).

Re:Resize.ly – Images resized, responsive, and retina ready by boyter on Thursday August 13, 2015 @05:27PM (#10057314)
It depends on if you ever need to recreate it. I was checking my ability to spin up a thumbor instance a few months after deploying it only to discover that it was not possible using the deployment scripts I had even with frozen pip requirements.

For comparison the thumbor instance I am working with does thousands.

Re:Resize.ly – Images resized, responsive, and retina ready by anilgulecha on Thursday August 13, 2015 @08:12AM (#10053524)
A better alternative is a simple wrapper over s3, and some lambda scripts generating resized images. No issues with scaling, and reasonably priced.
Re:Resize.ly – Images resized, responsive, and retina ready by gingerlime on Thursday August 13, 2015 @10:05AM (#10054249)
I like this idea. Any pointers for some lambda scripts that do this?
Re:Resize.ly – Images resized, responsive, and retina ready by guiomie on Thursday August 13, 2015 @09:01AM (#10053793)
My alternative is a digital ocean VPS with a nodejs server with the ImageMagick module. Super easy to use, but I'll say thumbnor looks like a good solution too. Thanks for the link!