Associate a thumbnail to a file types/mimetype and visualize on share

cancel
Showing results for 
Search instead for 
Did you mean: 
4535992
Senior Member

Associate a thumbnail to a file types/mimetype and visualize on share

Jump to solution

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?

1 Solution

Accepted Solutions
4535992
Senior Member

Re: Associate a thumbnail to a file types/mimetype and visualize on share

Jump to solution

I solve the issue, i just need to understand the transformers of alfresco you can find my solution on this link:

create-a-transformer-for-share-to-visualize-the-original-signed-file-of-a-p7m

View solution in original post

1 Reply
4535992
Senior Member

Re: Associate a thumbnail to a file types/mimetype and visualize on share

Jump to solution

I solve the issue, i just need to understand the transformers of alfresco you can find my solution on this link:

create-a-transformer-for-share-to-visualize-the-original-signed-file-of-a-p7m