<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Mimetype thumbnail in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/mimetype-thumbnail/m-p/301048#M254178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm adding a new type of content from the create menu, I've registered a new mime type and put the relative icons in the images/filetype folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I create the document it gets the custom icon I provided and the mime type is set correctly. However when I am in the tree document list page&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;something is not behaving okey. In the views where it is used a rendition (doclib) and it gets the thumbnail from the node id, the icon is not showed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;correctly but instead there's the generic icon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to debug to get what's behind the scenes there but I wasn't successful yes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure from where such rendition gets the right icon to show, I hope someone of you have a clue&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 05 Sep 2015 07:13:47 GMT</pubDate>
    <dc:creator>iwkse</dc:creator>
    <dc:date>2015-09-05T07:13:47Z</dc:date>
    <item>
      <title>Mimetype thumbnail</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mimetype-thumbnail/m-p/301048#M254178</link>
      <description>Hi,I'm adding a new type of content from the create menu, I've registered a new mime type and put the relative icons in the images/filetype folder.When I create the document it gets the custom icon I provided and the mime type is set correctly. However when I am in the tree document list pagesomethi</description>
      <pubDate>Sat, 05 Sep 2015 07:13:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mimetype-thumbnail/m-p/301048#M254178</guid>
      <dc:creator>iwkse</dc:creator>
      <dc:date>2015-09-05T07:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Mimetype thumbnail</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mimetype-thumbnail/m-p/301049#M254179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;renditions use placeholder images on the Repository tier when there is no transformation capable of transforming mimetype X to the expected mimetype (PNG for doclib thumbnails). Those placeholders are located in the Repository JAR on path (/classes)/alfresco/thumbnail/thumbnail_placeholder_doclib.png (generic placeholder) and (/classes)/alfresco/thumbnail/thumbnail_placeholder_doclib{0}.png (pattern based, mimetype-aware placeholder - just replace {0} with "_" + file extension of the source mimetype, i.e. "_pdf" for the PDF-specific placeholder).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Sep 2015 11:30:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mimetype-thumbnail/m-p/301049#M254179</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-09-05T11:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mimetype thumbnail</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mimetype-thumbnail/m-p/301050#M254180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Axel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your useful comment!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of inserting the png directly into the jar I'm trying to create an extension and give the path needed but it doesnt' seem to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;BR /&gt;&amp;lt;!DOCTYPE beans PUBLIC '-//SPRING/DTD BEAN//EN' '&lt;A href="http://www.springframework.org/dtd/spring-beans.dtd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/dtd/spring-beans.dtd&lt;/A&gt;'&amp;gt;&lt;BR /&gt;&amp;lt;beans&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="patchThumbnailDocLib" class="org.alfresco.repo.thumbnail.ThumbnailDefinition"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="mimeAwarePlaceHolderResourcePath" value="alfresco/extension/thumbnail/thumbnail_placeholder_doclib{0}.png" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;It makes sense?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Sep 2015 16:47:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mimetype-thumbnail/m-p/301050#M254180</guid>
      <dc:creator>iwkse</dc:creator>
      <dc:date>2015-09-05T16:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mimetype thumbnail</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mimetype-thumbnail/m-p/301051#M254181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that bean definition will not work. You don't actually need to define/override any bean for this. You can simply put your custome placeholder in /shared/classes/alfresco/thumbnail/ based on the name pattern and Alfresco should pick it up. Only the default placeholders are contained in the JAR but the lookup is actually not specific to the JAR - it will pick up any placeholder put properly within the classpath (and /shared/classes is one of the valid classpath roots).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 11:27:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mimetype-thumbnail/m-p/301051#M254181</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-09-07T11:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mimetype thumbnail</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mimetype-thumbnail/m-p/301052#M254182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Axel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks again. If I want to embed this into a more maintainable JAR to put in alfresco/WEB-INF/lib (I am using maven), could it work the same?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[edit]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nevermind I figure it out myself, I've included it in the resources/alfresco folder and it's working now!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 12:13:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mimetype-thumbnail/m-p/301052#M254182</guid>
      <dc:creator>iwkse</dc:creator>
      <dc:date>2015-09-07T12:13:00Z</dc:date>
    </item>
  </channel>
</rss>

