This commit is contained in:
Rick Falkvinge
2018-03-03 14:32:49 +01:00
parent 131334fd83
commit 0552d4c489
@@ -102,7 +102,14 @@
$('#imgModalDocument').attr('src', '/Pages/v5/Support/StreamUpload.aspx?DocId=' + result.DocumentId);
$('#imgModalDocument').attr('data-zoom-image', '/Pages/v5/Support/StreamUpload.aspx?DocId=' + result.DocumentId + '&hq=1');
$('.zoomContainer').remove();
$('#imgModalDocument').elevateZoom();
$('#imgModalDocument').elevateZoom({
zoomType: "lens",
cursor: "crosshair",
zoomWindowFadeIn: 200,
zoomWindowFadeOut: 200,
lensShape: "round",
lensSize: 150
});
}
});
}