Skip to content

Commit 91cec33

Browse files
committed
toggling off UV
1 parent 3ba34f6 commit 91cec33

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

utils.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,14 @@ def documents_to_htmls(mmif, viz_id):
124124
app.logger.debug(f"Generated IIIF manifest: {manifest_filename}")
125125
man = os.path.basename(manifest_filename)
126126
app.logger.debug(f"Manifest filename: {man}")
127-
l = symlink_to_static(viz_id, manifest_filename, man)
127+
symlink_to_static(viz_id, manifest_filename, man)
128128
app.logger.debug(f"Symlinked IIIF manifest: {None}")
129129
temp = render_template("uv_player.html", manifest=man, mmif_id=viz_id)
130-
htmlized.append(('UV', "", "", temp))
130+
# TODO (krim @ 2024-03-12): Turning off IIIF added to the HTML page since
131+
# 1. current IIIF manifest conversion is based on old version of manifest API, and quite brittle
132+
# 2. the conversion code at the moment can only convert TimeFrame annotation to "jump-able" IIIF canvases,
133+
# but the case is already covered by `Thumbnails` tab (look for usage of `pre-ocr.html` template)
134+
# htmlized.append(('UV', "", "", temp))
131135
return htmlized
132136

133137

0 commit comments

Comments
 (0)