Liquid error when using image sizes
I've added an image_size and with name "teamfoto groot". The slug is teamfoto_groot. I;m using the resize filter like this:
{{ item.data.team_photo.url | image_size_url: 'teamfoto_groot' }}
Something is failing, see content below..
alt="Demo team"
class="team_shot">
Am I doing something wrong? Or did I just hit a bug ?
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Steve Smith on 24 Aug, 2011 07:20 PM
Hey Peter,
When using the image_size_url filter, you pass the image itself to the filter, not the URL. So it would be like this:
> {{ item.data.team_photo | image_size_url: 'teamfoto_groot' }}
--Steve
3 Posted by Peter Berkenbosch on 24 Aug, 2011 07:51 PM
Doh!.. should have seen that one.. Thanks!!
John Nunemaker closed this discussion on 26 Aug, 2011 05:02 PM.