<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Grasping Thumbnails in Alfresco 3</title>
	<atom:link href="http://ecmarchitect.com/archives/2009/03/03/913/feed" rel="self" type="application/rss+xml" />
	<link>http://ecmarchitect.com/archives/2009/03/03/913</link>
	<description>Jeff Potts on ECM, portals, search, collaboration, and a bunch of personal stuff</description>
	<lastBuildDate>Mon, 06 Feb 2012 17:48:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Umut Utkan</title>
		<link>http://ecmarchitect.com/archives/2009/03/03/913/comment-page-1#comment-59579</link>
		<dc:creator>Umut Utkan</dc:creator>
		<pubDate>Sun, 26 Dec 2010 23:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/?p=913#comment-59579</guid>
		<description>I guess xml content in the comments are sanitized. Trying one last time with HTML encoded version of the same config. Sorry about that.

    &lt;bean class=&quot;org.springframework.beans.factory.config.MethodInvokingFactoryBean&quot;&gt;
        &lt;property name=&quot;targetObject&quot; ref=&quot;thumbnailRegistry&quot;/&gt;
        &lt;property name=&quot;targetMethod&quot; value=&quot;addThumbnailDefinition&quot;/&gt;
        &lt;property name=&quot;arguments&quot;&gt;
            &lt;list&gt;
                &lt;bean class=&quot;org.alfresco.repo.thumbnail.ThumbnailDefinition&quot;&gt;
                    &lt;property name=&quot;name&quot; value=&quot;scImageThumbnail&quot;/&gt;
                    &lt;property name=&quot;mimetype&quot; value=&quot;image/png&quot;/&gt;
                    &lt;property name=&quot;transformationOptions&quot;&gt;
                        &lt;bean class=&quot;org.alfresco.repo.content.transform.magick.ImageTransformationOptions&quot;&gt;
                            &lt;property name=&quot;resizeOptions&quot;&gt;
                                &lt;bean class=&quot;org.alfresco.repo.content.transform.magick.ImageResizeOptions&quot;&gt;
                                    &lt;property name=&quot;height&quot; value=&quot;100&quot;/&gt;
                                    &lt;property name=&quot;maintainAspectRatio&quot; value=&quot;true&quot;/&gt;
                                    &lt;property name=&quot;resizeToThumbnail&quot; value=&quot;true&quot;/&gt;
                                &lt;/bean&gt;
                            &lt;/property&gt;
                        &lt;/bean&gt;
                    &lt;/property&gt;
                    &lt;property name=&quot;placeHolderResourcePath&quot;
                              value=&quot;alfresco/extension/thumbnail/thumbnail_placeholder_scImageThumbnail.png&quot;/&gt;
                &lt;/bean&gt;
            &lt;/list&gt;
        &lt;/property&gt;
    &lt;/bean&gt;</description>
		<content:encoded><![CDATA[<p>I guess xml content in the comments are sanitized. Trying one last time with HTML encoded version of the same config. Sorry about that.</p>
<p>    &lt;bean class=&quot;org.springframework.beans.factory.config.MethodInvokingFactoryBean&quot;&gt;<br />
        &lt;property name=&quot;targetObject&quot; ref=&quot;thumbnailRegistry&quot;/&gt;<br />
        &lt;property name=&quot;targetMethod&quot; value=&quot;addThumbnailDefinition&quot;/&gt;<br />
        &lt;property name=&quot;arguments&quot;&gt;<br />
            &lt;list&gt;<br />
                &lt;bean class=&quot;org.alfresco.repo.thumbnail.ThumbnailDefinition&quot;&gt;<br />
                    &lt;property name=&quot;name&quot; value=&quot;scImageThumbnail&quot;/&gt;<br />
                    &lt;property name=&quot;mimetype&quot; value=&quot;image/png&quot;/&gt;<br />
                    &lt;property name=&quot;transformationOptions&quot;&gt;<br />
                        &lt;bean class=&quot;org.alfresco.repo.content.transform.magick.ImageTransformationOptions&quot;&gt;<br />
                            &lt;property name=&quot;resizeOptions&quot;&gt;<br />
                                &lt;bean class=&quot;org.alfresco.repo.content.transform.magick.ImageResizeOptions&quot;&gt;<br />
                                    &lt;property name=&quot;height&quot; value=&quot;100&quot;/&gt;<br />
                                    &lt;property name=&quot;maintainAspectRatio&quot; value=&quot;true&quot;/&gt;<br />
                                    &lt;property name=&quot;resizeToThumbnail&quot; value=&quot;true&quot;/&gt;<br />
                                &lt;/bean&gt;<br />
                            &lt;/property&gt;<br />
                        &lt;/bean&gt;<br />
                    &lt;/property&gt;<br />
                    &lt;property name=&quot;placeHolderResourcePath&quot;<br />
                              value=&quot;alfresco/extension/thumbnail/thumbnail_placeholder_scImageThumbnail.png&quot;/&gt;<br />
                &lt;/bean&gt;<br />
            &lt;/list&gt;<br />
        &lt;/property&gt;<br />
    &lt;/bean&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Umut Utkan</title>
		<link>http://ecmarchitect.com/archives/2009/03/03/913/comment-page-1#comment-59578</link>
		<dc:creator>Umut Utkan</dc:creator>
		<pubDate>Sun, 26 Dec 2010 23:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/?p=913#comment-59578</guid>
		<description>Answer to

&gt; The out-of-the-box thumbnails are registered in the thumbnail-service-context.xml file. I don’t see a clean way to extend that without repeating the definitions, so in my example, I wrote a bean that calls the Thumbnail Registry and registers the custom thumbnail definitions provided in the Spring context file:

Instead of creating a custom bean to register your custom thumbnail definitions, you could have just used MethodInvokingFactory bean to register them directly to the default thumbnailRegistry bean. It is for calling methods on other beans. See the following spring configuration.

    
        
        
        
            
                
                    
                    
                    
                        
                            
                                
                                    
                                    
                                    
                                
                            
                        
                    
                    
                
            
        
    

It should work, I used this approach in a lot of places while extending Alfresco since spring configurations are not authored extensibility in mind.</description>
		<content:encoded><![CDATA[<p>Answer to</p>
<p>&gt; The out-of-the-box thumbnails are registered in the thumbnail-service-context.xml file. I don’t see a clean way to extend that without repeating the definitions, so in my example, I wrote a bean that calls the Thumbnail Registry and registers the custom thumbnail definitions provided in the Spring context file:</p>
<p>Instead of creating a custom bean to register your custom thumbnail definitions, you could have just used MethodInvokingFactory bean to register them directly to the default thumbnailRegistry bean. It is for calling methods on other beans. See the following spring configuration.</p>
<p>It should work, I used this approach in a lot of places while extending Alfresco since spring configurations are not authored extensibility in mind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2009/03/03/913/comment-page-1#comment-59110</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Tue, 21 Dec 2010 00:06:55 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/?p=913#comment-59110</guid>
		<description>Unfortunately, no. That may be possible through a customization, but I haven&#039;t looked at it. I definitely get why you are asking. I currently have a client that would benefit from this distinction as well.</description>
		<content:encoded><![CDATA[<p>Unfortunately, no. That may be possible through a customization, but I haven&#8217;t looked at it. I definitely get why you are asking. I currently have a client that would benefit from this distinction as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Langdon</title>
		<link>http://ecmarchitect.com/archives/2009/03/03/913/comment-page-1#comment-58842</link>
		<dc:creator>Langdon</dc:creator>
		<pubDate>Wed, 15 Dec 2010 16:46:13 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/?p=913#comment-58842</guid>
		<description>In the current implementation of the thumbnail service, you kind of get 2 options: 1) generated thumbnail; 2) generating thumbnail placeholder (although, strictly speaking, this placeholder is &quot;no thumbnail available&quot;). Do you know of any way to get a third option which would either be a proper &quot;generating thumbnail placeholder&quot; or a new one &quot;no thumbnail can be created for this mime-type placeholder?&quot; Alternately, a way through the service to know if a thumbnail will eventually be created when using &quot;c=queue&quot; vs just that it isn&#039;t available yet?</description>
		<content:encoded><![CDATA[<p>In the current implementation of the thumbnail service, you kind of get 2 options: 1) generated thumbnail; 2) generating thumbnail placeholder (although, strictly speaking, this placeholder is &#8220;no thumbnail available&#8221;). Do you know of any way to get a third option which would either be a proper &#8220;generating thumbnail placeholder&#8221; or a new one &#8220;no thumbnail can be created for this mime-type placeholder?&#8221; Alternately, a way through the service to know if a thumbnail will eventually be created when using &#8220;c=queue&#8221; vs just that it isn&#8217;t available yet?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2009/03/03/913/comment-page-1#comment-57438</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Tue, 09 Nov 2010 14:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/?p=913#comment-57438</guid>
		<description>Try this instead:

http://cmis.alfresco.com/s/api/node/workspace/SpacesStore/f9bb33bb-652e-432f-bb61-8fbd495cfb06/content/thumbnails/doclib?c=queue&amp;ph=true

That will pull up the placeholder graphic, but no thumb gets generated for that file. Looks like your asset is a graphic, so I&#039;m not sure whether the issue is that they don&#039;t have ImageMagick installed/configured properly or there was some problem creating the rendition for your particular file, or some other issue.

Jeff</description>
		<content:encoded><![CDATA[<p>Try this instead:</p>
<p><a href="http://cmis.alfresco.com/s/api/node/workspace/SpacesStore/f9bb33bb-652e-432f-bb61-8fbd495cfb06/content/thumbnails/doclib?c=queue&#038;ph=true" rel="nofollow">http://cmis.alfresco.com/s/api/node/workspace/SpacesStore/f9bb33bb-652e-432f-bb61-8fbd495cfb06/content/thumbnails/doclib?c=queue&#038;ph=true</a></p>
<p>That will pull up the placeholder graphic, but no thumb gets generated for that file. Looks like your asset is a graphic, so I&#8217;m not sure whether the issue is that they don&#8217;t have ImageMagick installed/configured properly or there was some problem creating the rendition for your particular file, or some other issue.</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franki</title>
		<link>http://ecmarchitect.com/archives/2009/03/03/913/comment-page-1#comment-57424</link>
		<dc:creator>Franki</dc:creator>
		<pubDate>Tue, 09 Nov 2010 09:18:34 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/?p=913#comment-57424</guid>
		<description>Hello,

Is it possible to use thumbnails with public alfresco repository?

If I go to &quot;http://cmis.alfresco.com/s/api/node/workspace/SpacesStore/f9bb33bb-652e-432f-bb61-8fbd495cfb06/content/thumbnails/doclib?qc=queue&amp;ph=true&quot; the place holder is created but no thmubnail is created.

Thanks in advance,
Franki</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Is it possible to use thumbnails with public alfresco repository?</p>
<p>If I go to &#8220;http://cmis.alfresco.com/s/api/node/workspace/SpacesStore/f9bb33bb-652e-432f-bb61-8fbd495cfb06/content/thumbnails/doclib?qc=queue&amp;ph=true&#8221; the place holder is created but no thmubnail is created.</p>
<p>Thanks in advance,<br />
Franki</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cláudio</title>
		<link>http://ecmarchitect.com/archives/2009/03/03/913/comment-page-1#comment-55471</link>
		<dc:creator>Cláudio</dc:creator>
		<pubDate>Tue, 21 Sep 2010 20:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/?p=913#comment-55471</guid>
		<description>Thanks Jeff... I already solved it...

Thanks again for the help</description>
		<content:encoded><![CDATA[<p>Thanks Jeff&#8230; I already solved it&#8230;</p>
<p>Thanks again for the help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2009/03/03/913/comment-page-1#comment-55467</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Tue, 21 Sep 2010 17:46:25 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/?p=913#comment-55467</guid>
		<description>convert is the name of the ImageMagick binary itself. Alfresco wants the path to the binary, not the binary file (Alfresco already knows the binary is &quot;convert&quot;). So try it without &quot;/convert&quot; and see what happens. If you look at catalina.out you can see where Alfresco will attempt to do a test conversion on startup. It outputs any error messages that happen during the conversion. Use that to help you debug.

Jeff</description>
		<content:encoded><![CDATA[<p>convert is the name of the ImageMagick binary itself. Alfresco wants the path to the binary, not the binary file (Alfresco already knows the binary is &#8220;convert&#8221;). So try it without &#8220;/convert&#8221; and see what happens. If you look at catalina.out you can see where Alfresco will attempt to do a test conversion on startup. It outputs any error messages that happen during the conversion. Use that to help you debug.</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cláudio</title>
		<link>http://ecmarchitect.com/archives/2009/03/03/913/comment-page-1#comment-55461</link>
		<dc:creator>Cláudio</dc:creator>
		<pubDate>Tue, 21 Sep 2010 15:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/?p=913#comment-55461</guid>
		<description>I just installed ImageMagick...

I&#039;m using Fedora and I pointed the alfresco-global.properties to

ImageMagik dont as a binary...

it has 
/usr/bin/display
/usr/bin/convert
/usr/bin/montage
...

i used 

img.root=/usr/bin/convert

but still nothing...
Is it right?</description>
		<content:encoded><![CDATA[<p>I just installed ImageMagick&#8230;</p>
<p>I&#8217;m using Fedora and I pointed the alfresco-global.properties to</p>
<p>ImageMagik dont as a binary&#8230;</p>
<p>it has<br />
/usr/bin/display<br />
/usr/bin/convert<br />
/usr/bin/montage<br />
&#8230;</p>
<p>i used </p>
<p>img.root=/usr/bin/convert</p>
<p>but still nothing&#8230;<br />
Is it right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2009/03/03/913/comment-page-1#comment-55460</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Tue, 21 Sep 2010 14:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/?p=913#comment-55460</guid>
		<description>Yes. Install ImageMagick and then make sure your alfresco-global.properties file is pointing to the location of the ImageMagick binary.

Jeff</description>
		<content:encoded><![CDATA[<p>Yes. Install ImageMagick and then make sure your alfresco-global.properties file is pointing to the location of the ImageMagick binary.</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
</channel>
</rss>

