fix fetch metadata,add fetch orientation

fix fetch metadata
add fetch orientation
Merge pull request #1 from arthurchenjs/master

fix fetch metadata,add fetch orientation