<?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: Image manipulation in WCM: is it possible? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/image-manipulation-in-wcm-is-it-possible/m-p/89262#M60653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great answer&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You gave me many ideas. I'll try to achieve transformation through the last solution you suggested: the callout from Freemarker. From my point of view, the user who inserts content (content contributor) shouldn't be aware of parameters about transformation of content, above all when this transformation is related with presentation layer. In the logo example, I (web designer) could change the Freemarker template maybe with different image transformation parameters: from a content point of view the content contributor shouldn't notice any change.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2007 16:10:11 GMT</pubDate>
    <dc:creator>maephisto</dc:creator>
    <dc:date>2007-08-17T16:10:11Z</dc:date>
    <item>
      <title>Image manipulation in WCM: is it possible?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/image-manipulation-in-wcm-is-it-possible/m-p/89260#M60651</link>
      <description>Hi,is it possible to have image manipulation in WCM? I mean, someone could upload an image through the filepicker and after submitting the new content the image could be manipulated by imagemagick.Let's imagine a logo picture: this could be present in the header and in the footer of a html page. The</description>
      <pubDate>Tue, 14 Aug 2007 17:17:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/image-manipulation-in-wcm-is-it-possible/m-p/89260#M60651</guid>
      <dc:creator>maephisto</dc:creator>
      <dc:date>2007-08-14T17:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Image manipulation in WCM: is it possible?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/image-manipulation-in-wcm-is-it-possible/m-p/89261#M60652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Maephisto:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Great post.&amp;nbsp; Few things here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&amp;nbsp; Typically, you will want to use an Alfresco for your creative team to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create and manage digital assets.&amp;nbsp; They can use a custom view of that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; space that provides a thumbnail view of assets (available via a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; contributed Forget project).&amp;nbsp; That space can be configured with a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; content rule to execute whatever custom imagemagick transformations&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; you need.&amp;nbsp; Transformed assets should use a simple workflow for&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; approval, and then place them in another space, which would be&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; essentially your Digital Asset Library of approved corporate assets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp; End-users can browse this digital library and using the clipboard &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; copy and paste any number of assets they want into their web&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; project.&amp;nbsp; Then, they can create content using a form and reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the ideally world we'd allow them to browse regular spaces to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; statically reference fixed assets in the library or import into the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; web project; we don't enable that now, although it is a to-do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3.&amp;nbsp; End-users alternatively can use the file-picker to upload a new &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; image in their web project, which they can upload directly from&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the digital asset library presuming they have a CIFS mounted drive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This would be a workaround for the last point above in #2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, you can also just put digital assets in a web project and use imagemagick.&amp;nbsp; Because web project folders do not yet support rules ala spaces, instead of writing a rule to call imagemagick for transformation, you'd instead configure a workflow to match on a particular file-extension and have a custom workflow that implemented a custom action to invoke imagemagick.&amp;nbsp; What's nice about this is that in your custom workflow you can have a start task that captures on the transformation parameters a business user might want for an asset, and then at submit time have all the appropriate renditions generated in a reviewer's sandbox for potential&amp;nbsp; approval.&amp;nbsp; This puts more power in the hands of business users to specify what types of transformations they want on an asset when uploading into the system, and is a great use of our advanced workflow, sandboxes, and imagemagick engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A last way to do this is to capture the transformation options for a referenced asset directly in the web form itself.&amp;nbsp; Then, in your Freemarker template, when you transform the XML, have a custom call-out to imagemagick passing the transformation parameters captured within the form data so that the generated page has exactly the image you need.&amp;nbsp; This is probably the best solution ultimately - that way, business users can each reference the same asset, but for different business users when accessing the form they can specify things like whether they want it in black or white, 100'x200' or 200'x300', etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, a few options available to you.&amp;nbsp; Really, all are completely valid and have different merits in different situations.&amp;nbsp; We intend to have all of these options supported in the client in the future.&amp;nbsp; The benefit of a system like Alfresco is that is very flexible; I guess the corresponding downside is that because we don't out of the box present just one way of doing things, it can be a bit of a barrier for proof-of-concepts.&amp;nbsp; Like I said, we will address this … it's the proverbial issues of time and resource …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 11:03:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/image-manipulation-in-wcm-is-it-possible/m-p/89261#M60652</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-08-17T11:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Image manipulation in WCM: is it possible?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/image-manipulation-in-wcm-is-it-possible/m-p/89262#M60653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great answer&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You gave me many ideas. I'll try to achieve transformation through the last solution you suggested: the callout from Freemarker. From my point of view, the user who inserts content (content contributor) shouldn't be aware of parameters about transformation of content, above all when this transformation is related with presentation layer. In the logo example, I (web designer) could change the Freemarker template maybe with different image transformation parameters: from a content point of view the content contributor shouldn't notice any change.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 16:10:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/image-manipulation-in-wcm-is-it-possible/m-p/89262#M60653</guid>
      <dc:creator>maephisto</dc:creator>
      <dc:date>2007-08-17T16:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Image manipulation in WCM: is it possible?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/image-manipulation-in-wcm-is-it-possible/m-p/89263#M60654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was reading Freemarker documentation and now I have a new question. What did you mean with "custom call-out to imagemagick"? I thought in Freemarker there was the possibility to call a shell command, but I believe I was wrong: the only thing I could find was macro or transform directives. Through transform I can call the functions of a Java object that will call imagemagick: did u mean this or I am on the wrong way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 21:41:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/image-manipulation-in-wcm-is-it-possible/m-p/89263#M60654</guid>
      <dc:creator>maephisto</dc:creator>
      <dc:date>2007-08-17T21:41:27Z</dc:date>
    </item>
  </channel>
</rss>

