Add video type support; orient flag for images