http://sn.1w6.org/file/bobjonkman-20150609T153127-e86w6p4.html
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