Skip to content

Short term Logo Addition DEPRECATED

Jack Reed edited this page May 19, 2020 · 1 revision

This is now deprecated. Please use the [logo field] (http://iiif.io/api/presentation/2.0/#rights-and-licensing-properties) on the manifest to have your institution's logo display in Mirador

How to add a logo to the M2 repo

  1. Create your own branch!
  2. The logo should be a square image - png or jpg. Follow the naming convention, "[institution]-logo.[png|jpeg]"
  3. Add the image file to m2/images/logos/ directory.
  4. In js/src/settings.js, under 'repoImages', add a new key/value pair for your logo. For the logo to display in Mirador, the key MUST match the location field that you specify in the Mirador configuration, e.g. { "manifestUri": "http://dms-data.stanford.edu/data/manifests/Walters/qm670kv1873/manifest.json", "location": "Stanford University"}. The value is the image file name from (2).
  5. Do a pull request for your branch.