I have the following settings in [custom-theme-root]/asset/universal-viewer/config.json
{
“options”: {
“dropEnabled”: true,
“footerPanelEnabled”: false,
“headerPanelEnabled”: false,
“leftPanelEnabled”: false,
“limitLocales”: true,
“overrideFullScreen”: false,
“pagingEnabled”: true,
“rightPanelEnabled”: true
},
“modules”: {
“headerPanel”: {
“options”: {
“localeToggleEnabled”: false
}
},
“seadragonCenterPanel”: {
“options”: {
“autoHideControls”: true
}
}
}
My goal is to hide metadata and attribution panels, as paging for multi-page PDFs is only UI-feature needed in a site I’m currently setting up. For some reason, config.json in theme doesn’t seem to have any effect. Passing settings as $options array when calling $this->universalViewer($item, $options) doesn’ work either. It is likely that this is not a bug but my mistake, but I’m not able to spot it myself