<?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: Where does configuration to generate various previews of document is done? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/where-does-configuration-to-generate-various-previews-of/m-p/289521#M242651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alfresco 4.2 Enterprise&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually When I am uploading any document in Gallery view, thumbnail is not generating for DWG file but it is creating for office documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have noticed that one child is created with properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;child Name : cm:imgpreivew&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;childType : cm:thumbnail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AssociationTypeL rn:rendition&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its is the same as webpreview and doclib is created in Alfresco earlier version. So I have searched a lot but no solution found. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I add "cm:imgpreview" for dwg type documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Sep 2013 08:36:54 GMT</pubDate>
    <dc:creator>ratik_singhal</dc:creator>
    <dc:date>2013-09-19T08:36:54Z</dc:date>
    <item>
      <title>Where does configuration to generate various previews of document is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-configuration-to-generate-various-previews-of/m-p/289520#M242650</link>
      <description>I have search a lot&amp;nbsp; into the code base but did not able to identify where does it configured to execute action of the respective transformation for generation of different previews like imagepreview, webprevew and doclib preview? More specifically Where it configured that on going to document detai</description>
      <pubDate>Wed, 18 Sep 2013 14:33:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-configuration-to-generate-various-previews-of/m-p/289520#M242650</guid>
      <dc:creator>ratik_singhal</dc:creator>
      <dc:date>2013-09-18T14:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Where does configuration to generate various previews of document is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-configuration-to-generate-various-previews-of/m-p/289521#M242651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alfresco 4.2 Enterprise&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually When I am uploading any document in Gallery view, thumbnail is not generating for DWG file but it is creating for office documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have noticed that one child is created with properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;child Name : cm:imgpreivew&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;childType : cm:thumbnail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AssociationTypeL rn:rendition&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its is the same as webpreview and doclib is created in Alfresco earlier version. So I have searched a lot but no solution found. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I add "cm:imgpreview" for dwg type documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 08:36:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-configuration-to-generate-various-previews-of/m-p/289521#M242651</guid>
      <dc:creator>ratik_singhal</dc:creator>
      <dc:date>2013-09-19T08:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Where does configuration to generate various previews of document is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-configuration-to-generate-various-previews-of/m-p/289522#M242652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need a custom thumbnail generator and transformer. There has been something done for DWG - do a google search on it. A good general starting point on webpreviews is&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://devcon.alfresco.com/sanjose/sessions/configuring-and-extending-share-document-previews" rel="nofollow noopener noreferrer"&gt;https://devcon.alfresco.com/sanjose/sessions/configuring-and-extending-share-document-previews&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but there are lots more good articles from the Alfresco gliterati on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Be prepared for a fair bit of reading. Its not complicated, but it is "involved".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 09:19:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-configuration-to-generate-various-previews-of/m-p/289522#M242652</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-09-19T09:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Where does configuration to generate various previews of document is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-configuration-to-generate-various-previews-of/m-p/289523#M242653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for replaying !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am already using CADConverter for DWG and DXF file and configuration that I am using as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;id="transformer.worker.dwg2png"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;id="transformer.worker.dwg2pdf"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;id="transformer.worker.dwg2swf"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have verified that PNG and SWF file is being created. Also 'webpreview' and 'doclib' is added as Association with document. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 10:40:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-configuration-to-generate-various-previews-of/m-p/289523#M242653</guid>
      <dc:creator>ratik_singhal</dc:creator>
      <dc:date>2013-09-19T10:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Where does configuration to generate various previews of document is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-configuration-to-generate-various-previews-of/m-p/289524#M242654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry but I have never used the Gallery view so I can't directly help. The generation of the image preview is likely to end up being on the Gallery URL for the image with the extra parameter force=true. Now this requires that there is a XML config for generating the image preview from the base file mimetype which will be a different config to the doclib and web preview. If nothing else, the Gallery preview is a different size.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Off the top of my head I can't remember how this works, but you could do worse than to see how it does it for a JPEG and try and replicate that for your DWG and DXF files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 11:11:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-configuration-to-generate-various-previews-of/m-p/289524#M242654</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-09-19T11:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Where does configuration to generate various previews of document is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-configuration-to-generate-various-previews-of/m-p/289525#M242655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Johnson,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found a solution by modifying 'thumbnail-service-context.xml' file in bean id="thumbnailDefinitionImgpreview" . There was a mimetype set "image/jpeg" that I replace it to "image/png". Its working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I need to create one more conversion id="transformer.worker.dwg2jpeg" like others&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;id="transformer.worker.dwg2png"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;id="transformer.worker.dwg2pdf"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;id="transformer.worker.dwg2swf"&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 14:31:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-configuration-to-generate-various-previews-of/m-p/289525#M242655</guid>
      <dc:creator>ratik_singhal</dc:creator>
      <dc:date>2013-09-19T14:31:10Z</dc:date>
    </item>
  </channel>
</rss>

