Switched to the thumbnail lib using GraphicsMagick for performance reasons