I use phpthumbof in different parts of my website to resize images
It works perfectly in chunk using pdoresources from template
[[pdoResources?
&parents=`2`
&limit=`1`
&depth=`2`
&hideContainers=`1`
&includeTVs=`post-main-image`
&tpl=`main-post`
]]
here is code of chunk:
<img src="[[+tv.post-main-image:phpthumbof=`w=360&h=223&zc=1`]]">
but it doesn't work when I call it directly from template
[[*post-main-image:phpthumbof=`w=360&h=223&zc=1`]]
It shows image but doesn't affect on it's size or crop. How can I solve it?