cancel
Showing results for 
Search instead for 
Did you mean: 

Disable thumbnails, openoffice and flash preview

marco_altieri
Star Contributor
Star Contributor
Hi,

I would like to disable the creation of thumbnails, pdf and flash renditions during a bulk import of some documents.

What is the best way to do it on a 3.4.7 EE ?

Thank you
Regards,
Marco
1 REPLY 1

marco_altieri
Star Contributor
Star Contributor
To do it I have temporary commented out all the mimetypes in:

alfresco\WEB-INF\classes\alfresco\mimetype\mimetype-map.xml
alfresco\WEB-INF\classes\alfresco\mimetype\mimetype-map-openoffice.xml

Another option can be to update the action: org.alfresco.repo.thumbnail.CreateThumbnailActionExecuter adding the following snippet at the beginning of the file (copied from the HEAD):


        // Check if thumbnailing is generally disabled
        if (!generateThumbnails)
        {
            if (logger.isDebugEnabled())
            {
                logger.debug("Thumbnail transformations are not enabled");
            }
            return;
        }

where generateThumbnails is a new property of the action injected by spring (true or false).

Regards,
Marco