Socket
Socket
Sign inDemoInstall

mirador-dl-plugin

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mirador-dl-plugin

mirador-dl-plugin React component


Version published
Weekly downloads
1.1K
decreased by-1.59%
Maintainers
2
Weekly downloads
 
Created
Source

mirador-dl-plugin

Travis npm package Coveralls

mirador-dl-plugin is a Mirador 3 plugin that adds manifest-provided download links (e.g. rendering) to the window options menu. A live demo with several institutions' manifests is available for testing.

download option in menu

mirador-download-options

Installation

mirador-dl-plugin requires an instance of Mirador 3. See the Mirador wiki for examples of embedding Mirador within an application and additional information about plugins. See the live demo's index.js for an example of importing and configuring mirador-dl-plugin.

Configuration

Configurations for this plugin are injected when Mirador is initialized under the miradorDownloadPlugin key.

...
  id: 'mirador',
  miradorDownloadPlugin: {
    ...
  }
...
Config KeyTypeDescription
restrictDownloadOnSizeDefinitionboolean (default: false)If set to true the Zoomed region link will not be rendered if the image API returns a single size in the sizes section and the single size height/width is the same size or smaller than the reported height/width.

Contribute

Mirador's development, design, and maintenance is driven by community needs and ongoing feedback and discussion. Join us at our regularly scheduled community calls, on IIIF slack #mirador, or the mirador-tech and iiif-discuss mailing lists. To suggest features, report bugs, and clarify usage, please submit a GitHub issue.

Keywords

FAQs

Package last updated on 27 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc