Hi i have used a mimetype e.g. "application/pkcs7-mime" not present on the default configuration of alfresco so i created some transformer to manage for my use case, is work all fine but on the preview of share i don't have a thumbnail of the document. Here a screen shot of the problem:

I have prepared some image on "/src/main/amp/config/alfresco/extension/thumbnail/p7m-file-48.png" like i read in the documentation.
Here my transformer for the example:
<bean id="transformer.P7MToText"
class="it.abd.alfresco.transformers.P7MToTextTransformer"
parent="baseContentTransformer" >
</bean>
What i must to do for associate the thumbnail image to the file types or mimetype i want?
I know i must set some bean but i can't solved this issue or there is some code java on the trasformer i must set?