Handling large pictures of embedded comments inside jquery window

On page with #embedding Embedding Discourse Comments via Javascript if there is comment with large picture, when user click on that picture, browser opens new tab.
Can we tune up embedded comments so large pictures get open inside jquery windows as it does Discourse on original site.
Here is example of large picture inside comment
The Cloud Is Just Someone Else's Computer
Look at comments whit large images and try to zoom in, your browser will popu up new tab

So far we’ve wanted to keep the payload light so that it downloads and displays quickly. This unfortunately means stripping out some of the cooler discourse features that rely on having more javascript in place.