<?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: Document Preview in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/document-preview/m-p/234325#M187455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible that "image/*" mimetypes are automatically handled by ImageMagick?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I'm not wrong, the web preview is generated using the thumbnail service and the transformation options available in the transform xml configuration files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, I've configured a new transformation from DWG format (autoCAD) to SWF passing through PDF, but it seems that the web previewer looks for a png preview and fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if I use the transform option in the Alfresco web client actions, the file is converted correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What's wrong with web preview?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Enabling debug logging for the transformation registry, it seems like the service looks for transformations between dwg and png (not found) and dwg and swf (found, ComplexContentTransformer) but it does nothing. Nor the intermediate pdf file isn't created and the preview fails.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Feb 2010 08:04:18 GMT</pubDate>
    <dc:creator>fast3r</dc:creator>
    <dc:date>2010-02-16T08:04:18Z</dc:date>
    <item>
      <title>Document Preview</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview/m-p/234322#M187452</link>
      <description>Share has a great document Preview capability.I have a few of questions about it.- I can't find any user or developer documentation for this component.&amp;nbsp; Any pointers about where to look?- I do see in the source code some javascript for the preview component of the slingshot project.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I don't see</description>
      <pubDate>Tue, 26 Jan 2010 00:41:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview/m-p/234322#M187452</guid>
      <dc:creator>ghernando</dc:creator>
      <dc:date>2010-01-26T00:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Document Preview</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview/m-p/234323#M187453</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;BR /&gt;&lt;SPAN&gt;preview component has been included in document-detail page. you can find its template webapps\share\WEB-INF\classes\alfresco\templates\org\alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and that preview component has been defined in \webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\preview folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to preview, share is using YUI component - shockwave flash object which is defined in tomcat\webapps\share\components\preview&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jan 2010 05:19:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview/m-p/234323#M187453</guid>
      <dc:creator>pqr</dc:creator>
      <dc:date>2010-01-27T05:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Document Preview</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview/m-p/234324#M187454</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 really can't figure how to do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;- How can I extend the preview mechanism to a format that isn't currently supported?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd be really interested in a short explanation on how to do that…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 12:51:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview/m-p/234324#M187454</guid>
      <dc:creator>fast3r</dc:creator>
      <dc:date>2010-02-12T12:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Document Preview</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview/m-p/234325#M187455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible that "image/*" mimetypes are automatically handled by ImageMagick?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I'm not wrong, the web preview is generated using the thumbnail service and the transformation options available in the transform xml configuration files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, I've configured a new transformation from DWG format (autoCAD) to SWF passing through PDF, but it seems that the web previewer looks for a png preview and fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if I use the transform option in the Alfresco web client actions, the file is converted correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What's wrong with web preview?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Enabling debug logging for the transformation registry, it seems like the service looks for transformations between dwg and png (not found) and dwg and swf (found, ComplexContentTransformer) but it does nothing. Nor the intermediate pdf file isn't created and the preview fails.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 08:04:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview/m-p/234325#M187455</guid>
      <dc:creator>fast3r</dc:creator>
      <dc:date>2010-02-16T08:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Document Preview</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview/m-p/234326#M187456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I answer myself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To enable previews of image types not supported by ImageMagick and SwfPreviewer, you need to modify the file tomcat\webapps\share\components\preview\web-preview.js&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;on line 279 (in Alfresco 3.0):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;if (this.options.mimeType.match(/^image\/\w+/))&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;if (this.options.mimeType.match(/^image\/\w+/) &amp;amp;&amp;amp; !this.options.mimeType.match(/image\/x-dwg/))&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Eventually specifying each type of image you want to be converted to swf before previewing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this is helpful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 09:20:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview/m-p/234326#M187456</guid>
      <dc:creator>fast3r</dc:creator>
      <dc:date>2010-02-16T09:20:36Z</dc:date>
    </item>
  </channel>
</rss>

