My src tags are empty when using transform:

template: img src="{{ transform src='{main_image}' width='165' height='300' action='resize' }}"

content md: main_image: '{{ _site_root }}assets/img/gallery/image.jpg'

When I remove the transform command and just use the {{ main_image }} variable, things work as expetected - the variable is replaced with the path.

I have 777 permissions on assets and assets/img and assets/img/resized

My resized directory is set to _transform_destination: assets/img/resized