<?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, 14 May 2012 10:48:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Peter</title>
		<link>http://ecmarchitect.com/archives/2009/03/03/913/comment-page-1#comment-114951</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 24 Apr 2012 11:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/?p=913#comment-114951</guid>
		<description>Hi Jeff,

What tool is used to generate thumbs? Is that ImageMagick? We are loosing text on the thumbnails and my guess is that we have to configure the fonts. Am I right and how can I configure those fonts?

Thanks in advance,

Peter</description>
		<content:encoded><![CDATA[<p>Hi Jeff,</p>
<p>What tool is used to generate thumbs? Is that ImageMagick? We are loosing text on the thumbnails and my guess is that we have to configure the fonts. Am I right and how can I configure those fonts?</p>
<p>Thanks in advance,</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpotts</title>
		<link>http://ecmarchitect.com/archives/2009/03/03/913/comment-page-1#comment-108065</link>
		<dc:creator>jpotts</dc:creator>
		<pubDate>Fri, 30 Mar 2012 13:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/?p=913#comment-108065</guid>
		<description>Ivan,

You could have different thumbnail definitions and then ask for the one that has the right height and width, but I know what you really want is to be able to specify and arbitrary height and width at thumbnail request time. There&#039;s not a way to do that out-of-the-box that I know of.

Jeff</description>
		<content:encoded><![CDATA[<p>Ivan,</p>
<p>You could have different thumbnail definitions and then ask for the one that has the right height and width, but I know what you really want is to be able to specify and arbitrary height and width at thumbnail request time. There&#8217;s not a way to do that out-of-the-box that I know of.</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Listes</title>
		<link>http://ecmarchitect.com/archives/2009/03/03/913/comment-page-1#comment-108044</link>
		<dc:creator>Ivan Listes</dc:creator>
		<pubDate>Fri, 30 Mar 2012 11:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://ecmarchitect.com/?p=913#comment-108044</guid>
		<description>Is there a way to dynamically set thumbnail height and width?</description>
		<content:encoded><![CDATA[<p>Is there a way to dynamically set thumbnail height and width?</p>
]]></content:encoded>
	</item>
	<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>
</channel>
</rss>

