Instead of storing and serving a separate thumbnail file, the image could be stored in the text of the message itself using the "data:" URI scheme. That would make it backwards compatible with old instances that don't know about federated thumbnails http://en.Wikipedia.org/wiki/Data_URI_scheme