make sure rotate parameter is passed through for thumbnails