[qtdocgallery] Support the orientation value for all file types.