Got thumbnail generation working using graphicsmagick