I am using the Instagram plugin and have got it to display my images. The thumbnails are displaying in different sizes, however. I would like to use the cropZoom(700, 700) to set a fixed size for the thumbnails, but am failing.
Here is my twig file
{% if feed %}
{% for post in feed|slice(0, count) %}
<div class="columns item instagram">
<div class="item-wrap">
<a href="{{ post.link }}" target="_blank" >
<img src="{{ post.image }}" alt="">
<div class="overlay"></div>
<div class="link-icon"><i class="icon-plus"></i></div>
</a>
</div>
</div>
{% endfor %}
{% else %}
<p><b>
Could not load the Instagram feed! Please contact the owner of this site.
</b></p>
{% endif %}
@Dzibus
Thanks again for the help. I have added your suggestion, but it’s not quite resizing the way I want it.The theme I am using is the woo. I copy the same screenshot section of the theme.
At one point, the plugin was working fine and I didn’t had to re-style the image. It worked with the existing css. The size was a bit smaller compared to the default, but it was equal and spaced out in size. There was an update to Instagram API and the plugin was updated. That is when the change happened.
I think to have a square layout, it has to be modify at the plugin. Something to do with Instagram api.
Sorry for a late reply.
Based on the Git page of Instagram API you say you use, last update was a year ago, so I’m not sure what changed and broke your code.
Anyway, it sounds like you are not pulling the .css file that styles the grid (that would be layout.css in your theme), or you are missing some classes on elements.