added autoOrient config option to crop library