Add thumb method to GraphicsMagick middleware