I have work in the instafeed.js plugin to embed the insta post to our site. it shows the post when I click on them it should open my post on Instagram but it shows the image of the post on separate page. how to solve this problem. the code that I use for plugin is
<script type="text/javascript">
var userFeed = new Instafeed({
get: 'user',
target: "instafeed-container",
resolution: 'standard_resolution',
limit:9,
accessToken: 'here is my instagram access code that is working',
template: '<a href="{{image}}" target="_blank"><img id="images" title="{{caption}}" src="{{image}}" /><p style="width: 25%; height: 25%;" for="images">{{caption}}</p></a>',
templateBoundaries: ['{{','}}']
});
userFeed.run();
</script>
how to show the post on instagram when the user click on image.