Ah I see what you’re doing. Mine works slightly differently - you place the snippet on a dedicated resource page (uncached as the snippet caches thumbnails itself) which has an empty template:
I can then call this page from anywhere in modx:
<img src="[[~[[++thumbnail_resource_id]]? &scheme=`full` &imageId=`10` &width=`100` &height=`100`]]" alt="Thumbnail" />
imageId is the ID of a static resource in my modx content tree. Width and height are obviously how big to make the image. thumbnail_resource_id is a system setting containing the ID of the dedicated resource page.
This creates an <img> tag like:
<img src="http://www.mysite.com/thumbnail?imageid=10&width=100&height=100" alt="Thumbnail" />
The ImageThumbnail snippet reads the GET parameters and writes the image directly to the browser, which displays it for the <img> tag.