-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
61 lines (61 loc) · 1.97 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
export default {
apiBase: "https://unlocking-miniatures.fitz.ms/",
basePath: "https://miniatures-iiif.fitzmuseum.cam.ac.uk/",
// imageDownload: {
// publicPath: "images/",
// scale: false,
// scaleMinWidth: 50,
// scaleIncrement: 0.5,
// },
imageAPI: "https://iiif.fitz.ms/iiif/3/",
micrographBasePath: "https://unlocking-miniatures.fitz.ms/assets/",
dimensionsUnits: "mm",
fieldMap: {
publicPath: "accession_number",
label: "title",
description: ["description_content", "description_physical"],
imagePublicPath: "title",
image: [
{
"key": "image_normal_light",
"label": "Natural Light"
},
{
"key": "image_raking_light",
"label": "Raking Light"
},
{
"key": "image_infrared",
"label": "Infrared"
},
{
"key": "image_uv",
"label": "Ultraviolet"
},
{
"key": "image_xray",
"label": "X-ray"
}
],
maXrf: "images_ma_xrf_scans",
dimensionsHeight: "dimensions_unframed_height",
dimensionsWidth: "dimensions_unframed_width",
annotation: {
key: "images_micrographs",
fileName: "file_name",
description: "description",
x: "coordinates_x",
y: "coordinates_y",
w: "coordinates_width",
h: "coordinates_height",
uuid: "micrograph",
thumbnailURLParameters: "format=jpg&width=300&withoutEnlargement&quality=80",
fullSizeURLParameters: "format=jpg&width=1920&withoutEnlargement&quality=80"
},
published: "status"
},
collection: "Fitzwilliam Museum",
license: "http://creativecommons.org/licenses/by-nc-nd/4.0/",
outputDir: "dist",
micrographBuildManifest: true
}