This plugin is to set the supported file types of PDF thumbnail. See also [*ImageThumbnailPlugin*|#CONTref.Configuration.Plugins.ImageThumnailPlugin].

To use the plugin in the component configuration, you must use the following target-component:
{code:xml}<target-component>org.exoplatform.services.cms.thumbnail.ThumbnailService</target-component>{code}

The configuration is applied mainly in _packaging/wcm/webapp/src/main/webapp/WEB-INF/conf/dms-extension/dms/dms-thumbnail-configuration.xml_.

*Sample configuration*:

{code:xml}<component-plugin>
    <name>PDFThumbnailPlugin</name>
    <set-method>addPlugin</set-method>
    <type>org.exoplatform.services.cms.thumbnail.impl.PDFThumbnailPlugin</type>
    <init-params>
        <object-param>
            <name>thumbnailType</name>
            <description>Thumbnail types</description>
            <object type="org.exoplatform.services.cms.thumbnail.impl.ThumbnailType">
                <field name="mimeTypes">
                    <collection type="java.util.ArrayList">
                        <value>
                            <string>application/pdf</string>
                        </value>
                    </collection>
                </field>
            </object>
        </object-param>
    </init-params>
</component-plugin>{code}

In which:

* *Name*: _PDFThumbnailPlugin_
* *Set-method*: _addPlugin_
* *Type*: _org.exoplatform.services.cms.thumbnail.impl.PDFThumbnailPlugin_

* *Object type*: _org.exoplatform.services.cms.thumbnail.impl.ThumbnailType_
||  *Field*  ||  *Type*  ||  *Value*   ||  *Description*  ||
| *mimeTypes* | {{String}} | {{application/pdf}} | The MIME type of the pdf thumbnail. |

