I learned about this function in online tutorial about OctoberCMS. The person in the tutorial applies the function to an image to resize it and generate a thumbnail:
<img src="{{ user.image.thumb(200, auto) }}">
For some reason this function does not work for me:
<img src="{{ gallery.photo.path.thumb(100,auto) }}">
What am I doing wrong?