Skip to content

Instantly share code, notes, and snippets.

@woodwardtw
Last active August 16, 2023 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woodwardtw/ca37430943440652ee010ce001995d97 to your computer and use it in GitHub Desktop.
Save woodwardtw/ca37430943440652ee010ce001995d97 to your computer and use it in GitHub Desktop.
IIIF manifest in themes > theme name > asset > universal viewer - update on Aug 16 to hide top bar tools (which failed)
{
"options": {
"bookmarkThumbHeight": 150,
"bookmarkThumbWidth": 90,
"leftPanelEnabled": true,
"limitLocales": true,
"minWidthBreakPoint": 610,
"navigatorEnabled": true,
"openTemplate": "http://universalviewer.io?manifest={0}",
"overrideFullScreen": false,
"pagingEnabled": false,
"pagingOptionEnabled": false,
"pessimisticAccessControl": false,
"preserveViewport": false,
"saveUserSettings": false,
"searchWithinEnabled": true,
"theme": "uv-en-GB-theme",
"tokenStorage": "session",
"useArrowKeysToNavigate": false,
"dropEnabled": true,
"footerPanelEnabled": true,
"headerPanelEnabled": true,
"leftPanelEnabled": true,
"limitLocales": false,
"overrideFullScreen": false,
"rightPanelEnabled": true
},
"modules": {
"headerPanel": {
"options": {
"localeToggleEnabled": false,
"settingsButtonEnabled": false,
"searchTextEnabled": false,
"autoCompleteTextEnabled": false,
"modeButtonEnabled": false
}
},
"contentLeftPanel": {
"options": {
"elideCount": 40,
"expandFullEnabled": true,
"galleryThumbHeight": 320,
"galleryThumbWidth": 200,
"oneColThumbHeight": 320,
"oneColThumbWidth": 200,
"pageModeEnabled": true,
"panelAnimationDuration": 250,
"panelCollapsedWidth": 30,
"panelExpandedWidth": 255,
"panelOpen": false,
"tabOrder": "",
"thumbsEnabled": true,
"thumbsExtraHeight": 10,
"thumbsImageFadeInDuration": 300,
"thumbsLoadRange": 15,
"treeEnabled": true,
"twoColThumbHeight": 150,
"twoColThumbWidth": 90,
"defaultToTreeEnabled": false,
"defaultToTreeIfGreaterThan": 4
},
"content": {
"collapse": "Collapse panel",
"collapseFull": "Collapse panel",
"date": "Date",
"expand": "Expand panel",
"expandFull": "Expand panel",
"index": "Index",
"select": "Select",
"selectAll": "Select all",
"selection": "Selection",
"sortBy": "Sort By:",
"thumbnails": "Images",
"title": "Views",
"volume": "Volume"
}
},
"dialogue": {
"content": {
"close": "CLOSE"
}
},
"downloadDialogue": {
"options": {
"confinedImageSize": 1000,
"maxImageWidth": 9000,
"selectionEnabled": true
},
"content": {
"currentViewAsJpg": "Current view {0} x {1}px (jpg)",
"download": "Download",
"downloadSelection": "Download selection",
"downloadSelectionButton": "Download PDF",
"editSettings": "Edit settings",
"entireDocument": "Entire document ({0})",
"entireFileAsOriginal": "Entire file ({0})",
"noneAvailable": "No download options are available.",
"pagingNote": "Please turn off two-page view for more options.",
"preview": "Preview",
"title": "Download options",
"wholeImageHighRes": "Whole image {0} x {1}px ({2})",
"wholeImageLowResAsJpg": "Whole image {0} x {1}px (jpg)"
}
},
"embedDialogue": {
"options": {
"embedTemplate": "<div class=\"uv\" data-locale=\"{0}\" data-config=\"{1}\" data-uri=\"{2}\" data-collectionindex=\"{3}\" data-manifestindex=\"{4}\" data-sequenceindex=\"{5}\" data-canvasindex=\"{6}\" data-zoom=\"{7}\" data-rotation=\"{8}\" style=\"width:{9}px; height:{10}px; background-color: #000\"></div><script type=\"text/javascript\" id=\"embedUV\" src=\"{11}\"></script><script type=\"text/javascript\">/* wordpress fix */</script>"
},
"content": {
"customSize": "Custom Size",
"height": "Height",
"instructions": "To embed this item in your own website, copy and paste the code below.",
"title": "Embed",
"width": "Width"
}
},
"footerPanel": {
"options": {
"bookmarkEnabled": false,
"downloadEnabled": false,
"embedEnabled": false,
"feedbackEnabled": false,
"fullscreenEnabled": true,
"minimiseButtons": false,
"openEnabled": false
},
"content": {
"bookmark": "Add to bookmarks",
"download": "Download options",
"embed": "Embed",
"feedback": "Feedback",
"exitFullScreen": "Exit full screen",
"fullScreen": "Full screen",
"open": "Open"
}
},
"resourcesLeftPanel": {
"options": {
"panelOpen": false
}
},
"genericDialogue": {
"content": {
"emptyValue": "Please enter a value.",
"invalidNumber": "Please enter a valid number.",
"noMatches": "No matches were found.",
"ok": "OK",
"pageNotFound": "This item does not contain a page with the number you entered. Try switching the numbering mode to 'image'.",
"refresh": "Refresh"
}
},
"helpDialogue": {
"content": {
"text": "placeholder text",
"title": "Help"
}
},
"moreInfoRightPanel": {
"options": {
"panelAnimationDuration": 250,
"panelCollapsedWidth": 30,
"panelExpandedWidth": 255,
"panelOpen": false,
"textLimit": 4,
"textLimitType": "lines",
"displayOrder": "metadata, license, attribution",
"exclude": "logo"
},
"content": {
"attribution": "Attribution",
"collapse": "Collapse panel",
"collapseFull": "Collapse panel",
"description": "Description",
"expand": "Expand panel",
"expandFull": "Expand panel",
"holdingText": "Your module goes here!",
"less": "LESS",
"license": "License",
"logo": "Logo",
"more": "MORE",
"noData": "No data to display",
"title": "More information"
}
},
"pagingHeaderPanel": {
"options": {
"imageSelectionBoxEnabled": false,
"localeToggleEnabled": false,
"pageModeEnabled": false,
"pagingToggleEnabled": false,
"centerOptionsEnabled": false
},
"content": {
"close": "Close",
"emptyValue": "Please enter a value",
"first": "First",
"firstImage": "First image",
"firstPage": "First page",
"folio": "Folio",
"go": "Go",
"help": "Help",
"image": "Image",
"last": "Last",
"lastImage": "Last image",
"lastPage": "Last page",
"next": "Next",
"nextImage": "Next image",
"nextPage": "Next page",
"of": "of {0}",
"oneUp": "Single-page view",
"page": "Page",
"previous": "Previous",
"previousImage": "Previous image",
"previousPage": "Previous page",
"settings": "Settings",
"twoUp": "Two-page view"
}
},
"seadragonCenterPanel": {
"options": {
"animationTime": 0.15,
"autoHideControls": true,
"blendTime": 0,
"constrainDuringPan": false,
"controlsFadeAfterInactive": 1500,
"controlsFadeDelay": 250,
"controlsFadeLength": 250,
"defaultZoomLevel": 0,
"immediateRender": false,
"maxZoomLevel": 8,
"navigatorPosition": "BOTTOM_RIGHT",
"pageGap": 0.01,
"showHomeControl": false,
"trimAttributionCount": 150,
"visibilityRatio": 0.5
},
"content": {
"acknowledgements": "Attribution",
"goHome": "Reset",
"imageUnavailable": "Image unavailable",
"next": "Next",
"previous": "Previous",
"rotateRight": "Rotate right",
"zoomIn": "Zoom in",
"zoomOut": "Zoom out"
}
},
"searchFooterPanel": {
"options": {
"elideDetailsTermsCount": 20,
"elideResultsTermsCount": 10,
"pageModeEnabled": true
},
"content": {
"clearSearch": "Clear",
"defaultLabel": "-",
"displaying": "{0} {1} of {2}",
"enterKeyword": "Enter keyword",
"image": "image",
"imageCaps": "Image",
"instanceFound": "1 instance of '{0}' found",
"instancesFound": "{0} instances of '{1}' found",
"nextResult": "Next result",
"page": "page",
"pageCaps": "Page",
"previousResult": "Previous result",
"resultFoundFor": "result found for",
"resultsFoundFor": "results found for",
"searchWithin": "Search within this item:"
}
},
"settingsDialogue": {
"content": {
"locale": "Locale",
"navigatorEnabled": "Show page preview",
"pagingEnabled": "Two-page view",
"preserveViewport": "Preserve zoom",
"title": "Settings",
"website": "<a href='https://github.com/universalviewer/universalviewer'>More about this viewer</a>"
}
},
"clickThroughDialogue": {
"content": {
"viewTerms": "Read full Terms and Conditions"
}
},
"loginDialogue": {
"content": {
"login": "LOGIN",
"cancel": "CANCEL"
}
}
},
"content": {
"authCORSError": "Your browser does not support CORS, please upgrade to view this content.",
"authorisationFailedMessage": "Your login attempt did not appear to be successful. Please try again.",
"canvasIndexOutOfRange": "Canvas index out of range.",
"degradedResourceMessage": "Please log in to view at full quality.",
"degradedResourceLogin": "LOGIN",
"forbiddenResourceMessage": "Permission is required to view this image."
}
}
{
"options": {
"bookmarkThumbHeight": 150,
"bookmarkThumbWidth": 90,
"leftPanelEnabled": true,
"limitLocales": true,
"minWidthBreakPoint": 610,
"navigatorEnabled": true,
"openTemplate": "http://universalviewer.io?manifest={0}",
"overrideFullScreen": false,
"pagingEnabled": true,
"pagingOptionEnabled": true,
"pessimisticAccessControl": false,
"preserveViewport": false,
"rightPanelEnabled": true,
"saveUserSettings": false,
"searchWithinEnabled": true,
"theme": "uv-en-GB-theme",
"tokenStorage": "session",
"useArrowKeysToNavigate": false
},
"modules": {
"contentLeftPanel": {
"options": {
"elideCount": 40,
"expandFullEnabled": true,
"galleryThumbHeight": 320,
"galleryThumbWidth": 200,
"oneColThumbHeight": 320,
"oneColThumbWidth": 200,
"pageModeEnabled": true,
"panelAnimationDuration": 250,
"panelCollapsedWidth": 30,
"panelExpandedWidth": 255,
"panelOpen": true,
"tabOrder": "",
"thumbsEnabled": true,
"thumbsExtraHeight": 8,
"thumbsImageFadeInDuration": 300,
"thumbsLoadRange": 15,
"treeEnabled": true,
"twoColThumbHeight": 150,
"twoColThumbWidth": 90,
"defaultToTreeEnabled": true,
"defaultToTreeIfGreaterThan": 4
},
"content": {
"collapse": "Collapse panel",
"collapseFull": "Collapse panel",
"date": "Date",
"expand": "Expand panel",
"expandFull": "Expand panel",
"index": "Index",
"select": "Select",
"selectAll": "Select all",
"selection": "Selection",
"sortBy": "Sort By:",
"thumbnails": "Images",
"title": "Views of the Icon",
"volume": "Volume"
}
},
"dialogue": {
"content": {
"close": "CLOSE"
}
},
"downloadDialogue": {
"options": {
"confinedImageSize": 1000,
"maxImageWidth": 9000,
"selectionEnabled": false
},
"content": {
"currentViewAsJpg": "Current view {0} x {1}px (jpg)",
"download": "Download",
"downloadSelection": "Download selection",
"downloadSelectionButton": "Download PDF",
"editSettings": "Edit settings",
"entireDocument": "Entire document ({0})",
"entireFileAsOriginal": "Entire file ({0})",
"noneAvailable": "No download options are available.",
"pagingNote": "Please turn off two-page view for more options.",
"preview": "Preview",
"title": "Download options",
"wholeImageHighRes": "Whole image {0} x {1}px ({2})",
"wholeImageLowResAsJpg": "Whole image {0} x {1}px (jpg)"
}
},
"embedDialogue": {
"options": {
"embedTemplate": "<div class=\"uv\" data-locale=\"{0}\" data-config=\"{1}\" data-uri=\"{2}\" data-collectionindex=\"{3}\" data-manifestindex=\"{4}\" data-sequenceindex=\"{5}\" data-canvasindex=\"{6}\" data-zoom=\"{7}\" data-rotation=\"{8}\" style=\"width:{9}px; height:{10}px; background-color: #000\"></div><script type=\"text/javascript\" id=\"embedUV\" src=\"{11}\"></script><script type=\"text/javascript\">/* wordpress fix */</script>"
},
"content": {
"customSize": "Custom Size",
"height": "Height",
"instructions": "To embed this item in your own website, copy and paste the code below.",
"title": "Embed",
"width": "Width"
}
},
"footerPanel": {
"options": {
"bookmarkEnabled": false,
"downloadEnabled": true,
"embedEnabled": false,
"feedbackEnabled": false,
"fullscreenEnabled": true,
"minimiseButtons": false,
"openEnabled": false
},
"content": {
"bookmark": "Add to bookmarks",
"download": "Download options",
"embed": "Embed",
"feedback": "Feedback",
"exitFullScreen": "Exit full screen",
"fullScreen": "Full screen",
"open": "Open"
}
},
"resourcesLeftPanel": {
"options": {
"panelOpen": false
}
},
"genericDialogue": {
"content": {
"emptyValue": "Please enter a value.",
"invalidNumber": "Please enter a valid number.",
"noMatches": "No matches were found.",
"ok": "OK",
"pageNotFound": "This item does not contain a page with the number you entered. Try switching the numbering mode to 'image'.",
"refresh": "Refresh"
}
},
"helpDialogue": {
"content": {
"text": "placeholder text",
"title": "Help"
}
},
"moreInfoRightPanel": {
"options": {
"panelAnimationDuration": 250,
"panelCollapsedWidth": 30,
"panelExpandedWidth": 255,
"panelOpen": false,
"textLimit": 4,
"textLimitType": "lines",
"displayOrder": "metadata, license, attribution",
"exclude": "logo"
},
"content": {
"attribution": "Attribution",
"collapse": "Collapse panel",
"collapseFull": "Collapse panel",
"description": "Description",
"expand": "Expand panel",
"expandFull": "Expand panel",
"holdingText": "Your module goes here!",
"less": "LESS",
"license": "License",
"logo": "Logo",
"more": "MORE",
"noData": "No data to display",
"title": "More information"
}
},
"pagingHeaderPanel": {
"options": {
"imageSelectionBoxEnabled": true,
"localeToggleEnabled": true,
"pageModeEnabled": true,
"pagingToggleEnabled": true
},
"content": {
"close": "Close",
"emptyValue": "Please enter a value",
"first": "First",
"firstImage": "First image",
"firstPage": "First page",
"folio": "Folio",
"go": "Go",
"help": "Help",
"image": "Image",
"last": "Last",
"lastImage": "Last image",
"lastPage": "Last page",
"next": "Next",
"nextImage": "Next image",
"nextPage": "Next page",
"of": "of {0}",
"oneUp": "Single-page view",
"page": "Page",
"previous": "Previous",
"previousImage": "Previous image",
"previousPage": "Previous page",
"settings": "Settings",
"twoUp": "Two-page view"
}
},
"seadragonCenterPanel": {
"options": {
"animationTime": 0.15,
"autoHideControls": true,
"blendTime": 0,
"constrainDuringPan": false,
"controlsFadeAfterInactive": 1500,
"controlsFadeDelay": 250,
"controlsFadeLength": 250,
"defaultZoomLevel": 0,
"immediateRender": false,
"maxZoomLevel": 8,
"navigatorPosition": "BOTTOM_RIGHT",
"pageGap": 0.01,
"showHomeControl": false,
"trimAttributionCount": 150,
"visibilityRatio": 0.5
},
"content": {
"acknowledgements": "Attribution",
"goHome": "Reset",
"imageUnavailable": "Image unavailable",
"next": "Next",
"previous": "Previous",
"rotateRight": "Rotate right",
"zoomIn": "Zoom in",
"zoomOut": "Zoom out"
}
},
"searchFooterPanel": {
"options": {
"elideDetailsTermsCount": 20,
"elideResultsTermsCount": 10,
"pageModeEnabled": true
},
"content": {
"clearSearch": "Clear",
"defaultLabel": "-",
"displaying": "{0} {1} of {2}",
"enterKeyword": "Enter keyword",
"image": "image",
"imageCaps": "Image",
"instanceFound": "1 instance of '{0}' found",
"instancesFound": "{0} instances of '{1}' found",
"nextResult": "Next result",
"page": "page",
"pageCaps": "Page",
"previousResult": "Previous result",
"resultFoundFor": "result found for",
"resultsFoundFor": "results found for",
"searchWithin": "Search within this item:"
}
},
"settingsDialogue": {
"content": {
"locale": "Locale",
"navigatorEnabled": "Show page preview",
"pagingEnabled": "Two-page view",
"preserveViewport": "Preserve zoom",
"title": "Settings",
"website": "<a href='https://github.com/universalviewer/universalviewer'>More about this viewer</a>"
}
},
"clickThroughDialogue": {
"content": {
"viewTerms": "Read full Terms and Conditions"
}
},
"loginDialogue": {
"content": {
"login": "LOGIN",
"cancel": "CANCEL"
}
}
},
"content": {
"authCORSError": "Your browser does not support CORS, please upgrade to view this content.",
"authorisationFailedMessage": "Your login attempt did not appear to be successful. Please try again.",
"canvasIndexOutOfRange": "Canvas index out of range.",
"degradedResourceMessage": "Please log in to view at full quality.",
"degradedResourceLogin": "LOGIN",
"forbiddenResourceMessage": "Permission is required to view this image."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment