Download button

13 views
Skip to first unread message

Vedran Serbu

unread,
Feb 14, 2025, 8:57:28 AMFeb 14
to Universal Viewer
Is there an option to customize Download button?

I have a somewhat functional download button in UV in Omeka S, I would like to remove some options and ask about some options.

Here is an image:



Here it is how it looks.download button UV.jpg
My current view option is not working (I can elaborate further if someone is interested)
Whole image 7008x4960 is working
Whole image (second option) is not working and nothing happens when I click on it. 

Version of this UV Omeka S module is  3.6.9. That is most recent version for Omeka S.

Is it possible to remove "My current view" and second "Whole image"?

Also, is ti possible to have DOWNLOAD ALL IMAGES. I've seen that funcionality in newer version of UV (4+) but not sure about this version?

Tnx. 

demian...@gmail.com

unread,
Feb 14, 2025, 9:07:26 AMFeb 14
to Universal Viewer

Vedran,

There are config options to turn the various download options on or off through your JSON configuration. You can see them documented here:

https://docs.universalviewer.io/types/_internal_.OSDDownloadDialogueOptions.html

However, I’m not sure when they were introduced; it’s possible that you would need to upgrade past UV 3 to take advantage of them.

I’m not entirely sure of the status of bulk downloading in the UV; there have been some technical challenges there related to browser limitations.

- Demian

Vedran Serbu

unread,
Feb 15, 2025, 10:50:15 AMFeb 15
to Universal Viewer
Tnx, I'll try it first thing monday morning and give here a feedback :)

Tnx again

Vedran

Vedran Serbu

unread,
Feb 17, 2025, 2:28:42 AMFeb 17
to Universal Viewer
What I've done:

I copied from /var/www/html/modules/UniversalViewer/asset with cp -r asset /var/www/html/themes/lively/asset (I'm using lively theme)

edited config.json:

{
  "options": {
    "dropEnabled": true,
    "footerPanelEnabled": true,
    "headerPanelEnabled": true,
    "leftPanelEnabled": true,
    "limitLocales": false,
    "overrideFullScreen": false,
    "pagingEnabled": true,
    "rightPanelEnabled": true
  },
  "modules": {
    "headerPanel": {
      "options": {
        "localeToggleEnabled": false
      }
    },
    "seadragonCenterPanel": {
      "options": {
        "autoHideControls": false,
        "OSDDownloadDialogueOptions": {
          "downloadCurrentViewEnabled": false,
          "downloadWholeImageHighResEnabled": true,
          "downloadWholeImageLowResEnabled": false
        }
      }
    }
  }
}
 

Is this ok? 

demian...@gmail.com

unread,
Feb 17, 2025, 7:54:28 AMFeb 17
to Universal Viewer
I'm not familiar with the specifics of the integration you are using, so I don't know what the best practices are, but what you describe certainly sounds reasonable to me, and the config looks about right as well. Is it working for you? If so, then I think you've done the right thing. If not, I can help you troubleshoot as needed! There are a number of possible reasons this might not work (ranging from "the UV version you're using doesn't support the settings yet" to "something is just slightly out of place somewhere"); if there's an active problem to solve, a little research should be able to help narrow things down!

- Demian
Reply all
Reply to author
Forward
0 new messages