I always have liked the idea of template images controlling the tileset, but only if the server could read them. And if template images are too bad, a template reader that could convert the image template into an array would probably be just as effective. Then one could set the array in a serverside weapon and whoopdiddeedoo!!! everyone is happy!
Although I don't know enough to say that this would actually work.