<?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 Re: Modify Alfresco Thumbnail Resolution in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/modify-alfresco-thumbnail-resolution/m-p/23989#M10433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where did you find the idea to modify / put the thumbnail.xsl there? This has nothing to do with the thumnail resolutions and is only related to displaying a CMIS-based file system view (as far as I can tell).&lt;/P&gt;&lt;P&gt;Alfresco thumbnails are defined&amp;nbsp;in the thumbnail-service-context.xml (and can be overriden via a Spring bean context file in the shared/alfresco/extension/... path) - you can see the &lt;A href="https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/thumbnail-service-context.xml#L100" rel="nofollow noopener noreferrer"&gt;default definitions in the source file&lt;/A&gt;. You could add a custom thumbnail definition in your own Spring context file, and retrieve thumbnails created according to that definition for your project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2017 19:01:56 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-12-20T19:01:56Z</dc:date>
    <item>
      <title>Modify Alfresco Thumbnail Resolution</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/modify-alfresco-thumbnail-resolution/m-p/23988#M10432</link>
      <description>I'm using Alfresco Community v5.2.0 to store some files (pdf, jpg/png essentially).I'm creating a web app to retrieve this files for a school project.I'm trying to create a grid of files from a specific folder in my application.But when i'm retrieving the list of a specific folders with their thumbn</description>
      <pubDate>Tue, 19 Dec 2017 22:04:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/modify-alfresco-thumbnail-resolution/m-p/23988#M10432</guid>
      <dc:creator>julienp</dc:creator>
      <dc:date>2017-12-19T22:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Alfresco Thumbnail Resolution</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/modify-alfresco-thumbnail-resolution/m-p/23989#M10433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where did you find the idea to modify / put the thumbnail.xsl there? This has nothing to do with the thumnail resolutions and is only related to displaying a CMIS-based file system view (as far as I can tell).&lt;/P&gt;&lt;P&gt;Alfresco thumbnails are defined&amp;nbsp;in the thumbnail-service-context.xml (and can be overriden via a Spring bean context file in the shared/alfresco/extension/... path) - you can see the &lt;A href="https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/thumbnail-service-context.xml#L100" rel="nofollow noopener noreferrer"&gt;default definitions in the source file&lt;/A&gt;. You could add a custom thumbnail definition in your own Spring context file, and retrieve thumbnails created according to that definition for your project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 19:01:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/modify-alfresco-thumbnail-resolution/m-p/23989#M10433</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-12-20T19:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Alfresco Thumbnail Resolution</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/modify-alfresco-thumbnail-resolution/m-p/23990#M10434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow thank you !&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;I found a way to ovveride the thumbnail definition :&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;I created a file&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #242729; background-color: #fff8dc; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #ffeb8e; margin: 0px 0px 10px; padding: 10px;"&gt;&lt;P style="border: 0px; font-weight: inherit; font-size: inherit;"&gt;thumbnail-service-context.xml&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;in&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #242729; background-color: #fff8dc; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #ffeb8e; margin: 0px 0px 10px; padding: 10px;"&gt;&lt;P style="border: 0px; font-weight: inherit; font-size: inherit;"&gt;[AlfrescoRootFolder]\tomcat\shared\classes\alfresco\extension\&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;In this file I wrote :&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/dtd/spring-beans.dtd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/dtd/spring-beans.dtd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;lt;beans&amp;gt;&lt;BR /&gt; &amp;lt;!-- Slingshot Document Library image thumbnail options --&amp;gt;&lt;BR /&gt; &amp;lt;!-- Note that this will auto-register with parent="baseThumbnailDefinition" in the future --&amp;gt;&lt;BR /&gt; &amp;lt;bean id="thumbnailDefinitionDoclib" class="org.alfresco.repo.thumbnail.ThumbnailDefinition"&amp;gt;&lt;BR /&gt; &amp;lt;property name="name" value="doclib" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="mimetype" value="image/png"/&amp;gt;&lt;BR /&gt; &amp;lt;property name="transformationOptions"&amp;gt;&lt;BR /&gt; &amp;lt;bean parent="defaultImageTransformationOptions"&amp;gt;&lt;BR /&gt; &amp;lt;property name="resizeOptions"&amp;gt;&lt;BR /&gt; &amp;lt;bean parent="defaultImageResizeOptions"&amp;gt;&lt;BR /&gt; &amp;lt;property name="width" value="900"/&amp;gt;&lt;BR /&gt; &amp;lt;property name="height" value="900"/&amp;gt;&lt;BR /&gt; &amp;lt;property name="allowEnlargement" value="false" /&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt; &lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt; &amp;lt;property name="placeHolderResourcePath" value="alfresco/thumbnail/thumbnail_placeholder_doclib.png" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="mimeAwarePlaceHolderResourcePath" value="alfresco/thumbnail/thumbnail_placeholder_doclib{0}.png" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="runAs" value="System"/&amp;gt;&lt;BR /&gt; &amp;lt;property name="failureHandlingOptions" ref="standardFailureOptions"/&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;And now I can retrieve a thumbnail by calling :&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="color: #242729; background-color: #fff8dc; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #ffeb8e; margin: 0px 0px 10px; padding: 10px;"&gt;&lt;P style="border: 0px; font-weight: inherit; font-size: inherit;"&gt;/alfresco/api/-default-/public/alfresco/versions/1/nodes/{idDocAlfresco}/renditions/doclib/content&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2017 07:49:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/modify-alfresco-thumbnail-resolution/m-p/23990#M10434</guid>
      <dc:creator>julienp</dc:creator>
      <dc:date>2017-12-22T07:49:15Z</dc:date>
    </item>
  </channel>
</rss>

