=============================================================
This week I've been working on a function to create thumbnails for an online document store, so I decided to build a tool for this purpose and release it as open source under the MIT license. You can find it on GitHub:
https://github.com/robertdmunn/thumbnailmagic/
So far I have only tested on Railo on OS X. I will get around to testing on other platforms and with ACF. Meanwhile, if anyone is interested in the functionality, take a look. It supports:
- thumbnails of images
- multi-page thumbnails of MSOffice/OpenOffice documents
- multi-page thumbnails of PDFs
- thumbnails of plain text and HTML documents
- video thumbnails, multiple frames
- web page thumbnails, rendered using Webkit so active content renders correctly
It has a few dependencies, notably NodeJS for web page thumbnails, OpenOffice for documents, and ffmpeg for videos. The GitHub site has instructions for installation and usage.
There is a wrapper for configuring and calling the service in Coldbox.
There are a few configuration options I want to add - the ability to set the host and port for the OpenOffice service, cfdocument use instead of native OpenOffice calling for ACF 10+, and the ability to override the thumbnailpath in the method call.
It could use a proper test suite, detailed logging options, and better error handling if there are any takers to spend a few hours on it.
Robert