Hacker News new | ask | show | jobs
by sheraz 4909 days ago
It's always encouraging to see others find similar solutions. I've been working on a asset management tool that dealt with thumbnail generation. Only I've done it in PHP.

First, I came across timthumb[1], but it was a little too heavy for my liking. Instead I whipped up a thumbnail-on-demand script with caching options in about 3 hours and 80 lines of code.

Now the best part -- I don't have to use a work-queue on the server side to offload thumbnailing. The browser will do that on first request, and results are cache from then on.

[1] - https://code.google.com/p/timthumb/