UniversalViewer PDF Default Zoom Level

Do you know how to define the default zoom level (e.g., 125%) in universal viewer?

First, I copied the file modules/UniversalViewer/asset/universal-viewer/config.json to themes/[THEME]/asset/universal-viewer but I could not find any option to change the default (initial) zoom level. I tried without any success both:

1 -
“pdfCenterPanel”: {
“options”: {
“defaultZoomLevel”: 1
}
}

2 -
“seadragonCenterPanel”: {
“options”: {
“autoHideControls”: false,
“defaultZoomLevel”: 1
}

Any idea?

Thank you!

I don’t know the option, but you can ask on slack or in the goggle group : http://universalviewer.io/#contact

1 Like