I'm having trouble with using cropResize in a simple gallery. I'm basically replicating the simple gallery recipe from the cookbook, but cropResize() is breaking and I'm not getting any useful information from the debug bar or using twig dump(). This is my twig:
<section>
<ul>
{% for image in page.media.images %}
<li>
{{ image.html() }} <!-- this works -->
{{ image.cropResize(300,300).html() }} <!-- this doesn't work ? -->
</li>
{% endfor %}
</ul>
</section>
I have images in the folder with the gallery template, etc. not sure what else I should look at? Thanks