-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] 3D viewer selection #1395
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Sebastian Meyer <[email protected]>
:Values: | ||
Values | ||
|
||
- :Property: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you set up this property here?
fileGrps...
config is configured in ext_conf_template.txt
(
kitodo-presentation/ext_conf_template.txt
Line 22 in 4b3a130
files.fileGrpImages = DEFAULT,MAX |
Please move it there.
Values | ||
|
||
- :Property: | ||
fileGrpsModelDownload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same as above.
$modelUrl = ''; | ||
if (!empty($this->requestData['model'])) { | ||
$modelUrl = $this->requestData['model']; | ||
} elseif (!($this->isDocMissingOrEmpty() || empty($this->settings['fileGrpsModelDownload']))) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Access to properties from ext_conf_template.txt
:
Example: GeneralUtility::trimExplode(',', $this->extConf['files']['fileGrpThumbs']);
modeldownloadtool
to additionally retrieve the model url from thetx_dlf[model]
parameter.viewerselectiontool
to display all viewers that support the model format for rendering (therefore, the model URL is extracted from the METS file or the model parameter is used).