<?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 Thumbnail view in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/thumbnail-view/m-p/31550#M16308</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;I'm working on a thumbnail view to find images on a quick way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, in my first version, I used the following code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;h:graphicImage id="graphicimageview" value="#{r.url}" height="#{BrowseBean.thumbnailH}" width="#{BrowseBean.thumbnailW}" /&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;But, now, I want to show also thumbnails of jpeg2000, tiff images etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can display these images with the embed tag. (quicktime, other plugins, …)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;h:outputText id="thumbnail_images" value="&amp;lt;embed src='/alfresco#{r.url}' width='#{BrowseBean.thumbnailW}' height='#{BrowseBean.thumbnailH}'&amp;gt;" escape="false" /&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In Firefox, regular images are also showed with the embed tag, but IE can't show jpg, gif etc with the embed tag., so, here, we need a solution for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the mimetype of the file is jpg, gif, …, then we want to use the regular &amp;lt;img&amp;gt; tag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And if the mimetype of the file is jp2, tiff, swf, … etc, then we want to use the &amp;lt;embed&amp;gt; tag.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to work something out with the booleanEvaluator, but till now, I still didn't succeed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone a suggestion?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is an example of how i want to do this, but I don't know how i can check the mimetype in the checkincheckoutbean because i can't give the ID along with it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;a:booleanEvaluator id="showThumb" value='#{CheckinCheckoutBean.thumbnailFile == false}' &amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;h:outputText id="thumbnail_images" value="&amp;lt;embed src='/alfresco#{r.url}' width='#{BrowseBean.thumbnailW}' height='#{BrowseBean.thumbnailH}'&amp;gt;" escape="false" /&amp;gt;&lt;BR /&gt;&amp;lt;/a:booleanEvaluator&amp;gt;&lt;BR /&gt;&amp;lt;a:booleanEvaluator id="showThumb" value='#{CheckinCheckoutBean.thumbnailFile == true}' &amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;h:outputText id="thumbnail_images" value="&amp;lt;img src='/alfresco#{r.url}' width='#{BrowseBean.thumbnailW}' height='#{BrowseBean.thumbnailH}'&amp;gt;" escape="false" /&amp;gt;&lt;BR /&gt;&amp;lt;/a:booleanEvaluator&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Here, i can give the ID along with it, but i don't hav any action events in the other code sample.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;a:actionLink id="inlinelistlink" value="#{r.name}" styleClass="title" actionListener="#{CheckinCheckoutBean.inlineFile}"&amp;gt;&lt;BR /&gt;&amp;lt;f:param id="inlinelistparam" name="id" value="#{r.id}" /&amp;gt;&lt;BR /&gt;&amp;lt;/a:actionLink&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;friendly regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jul 2006 07:33:48 GMT</pubDate>
    <dc:creator>sjeek</dc:creator>
    <dc:date>2006-07-07T07:33:48Z</dc:date>
    <item>
      <title>Thumbnail view</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/thumbnail-view/m-p/31550#M16308</link>
      <description>Hi,I'm working on a thumbnail view to find images on a quick way.Now, in my first version, I used the following code&amp;lt;h:graphicImage id="graphicimageview" value="#{r.url}" height="#{BrowseBean.thumbnailH}" width="#{BrowseBean.thumbnailW}" /&amp;gt;‍‍‍But, now, I want to show also thumbnails of jpeg200</description>
      <pubDate>Fri, 07 Jul 2006 07:33:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/thumbnail-view/m-p/31550#M16308</guid>
      <dc:creator>sjeek</dc:creator>
      <dc:date>2006-07-07T07:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnail view</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/thumbnail-view/m-p/31551#M16309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used the following solution for my problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;h:outputText rendered="#{r.fileType32 == '/images/filetypes32/jp2.gif' || r.fileType32 == '/images/filetypes32/swf.gif' || r.fileType32 == '/images/filetypes32/tif.gif' || r.fileType32 == '/images/filetypes32/avi.gif' || r.fileType32 == '/images/filetypes32/wmv.gif' || r.fileType32 == '/images/filetypes32/mov.gif'}" id="thumbnail_other" value="&amp;lt;embed src='/alfresco#{r.url}' width='#{BrowseBean.thumbnailW}' height='#{BrowseBean.thumbnailH}'&amp;gt;" escape="false" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;h:outputText rendered="#{r.fileType32 == '/images/filetypes32/jpg.gif' || r.fileType32 == '/images/filetypes32/gif.gif' || r.fileType32 == '/images/filetypes32/png.gif' || r.fileType32 == '/images/filetypes32/bmp.gif'}" id="thumbnail_jpg" value="&amp;lt;img src='/alfresco#{r.url}' width='#{BrowseBean.thumbnailW}' height='#{BrowseBean.thumbnailH}'&amp;gt;" escape="false" /&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I got also another outputtext with all the other filetype32 who has got no thumbnail. here for, I just show the image of the fileType&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But If someone knows a better way to solves this…&amp;nbsp; :wink:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2006 12:53:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/thumbnail-view/m-p/31551#M16309</guid>
      <dc:creator>sjeek</dc:creator>
      <dc:date>2006-07-07T12:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnail view</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/thumbnail-view/m-p/31552#M16310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please can any body give me an idiots guide to providing a thumbnail dashboard such that all images can be viewed as thumbnials (I dont want the originals to be affected/transformed).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By idiots guide, I really do mean idiots guide by way of what bolt ons I need and any source code and a step by step guide of what goes where.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have Alfresco 1.3.1 running with Tomcat and mySql.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I realise this is a big ask, but I really havent got a clue where to start and the wiki isnt much help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;many thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2006 07:42:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/thumbnail-view/m-p/31552#M16310</guid>
      <dc:creator>csnell52</dc:creator>
      <dc:date>2006-08-11T07:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Thumbnail view</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/thumbnail-view/m-p/31553#M16311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://forge.alfresco.com/projects/thumbnails/" rel="nofollow noopener noreferrer"&gt;http://forge.alfresco.com/projects/thumbnails/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 15:21:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/thumbnail-view/m-p/31553#M16311</guid>
      <dc:creator>rgauss</dc:creator>
      <dc:date>2006-09-15T15:21:37Z</dc:date>
    </item>
  </channel>
</rss>

