<script src="~/lib/jquery/dist/jquery.min.js"></script>
...
<script src="~/jquery-image-viewer-magnify/js/jquery.magnify.min.js"></script>
<script>
...
case "png": {
$("[data-magnify=gallery]").magnify({
draggable: true,
resizable: true,
movable: true
});
break;
}
</script>