Bug fix.  Use the img function off the context and not just assume it's globally available.
Merge branch 'master' of github.com:fs-webdev/asset-manager