Maybe this helps: (it does not zoom, but it scrolls the paper so the the clicked portrait is centered)
var portrait = $(".portrait");
var paper = $("#paper");
portrait.click(function(e) {
var myleft=200-$(this).position().left;
paper.css({left: myleft})
})
#paper {width: 300px; height: 300px; border: 1px solid blue; position: absolute; left: 200px;}
.portrait { width: 20px; height: 20px; border: 1px dotted pink; position: relative}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<div id="paper">
<div class="portrait" style="left: 50px; top: 100px">
:-)
</div>
<div class="portrait" style="left: 200px; top: 100px">
:-(
</div>
</div>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…