<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: An alternate thumbnail viewer</title>
  <link>http://www.activecollab.com/forums/topic/1030/</link>
  <description>Recent posts on topic: An alternate thumbnail viewer</description>
  <dc:language>en-us</dc:language>
  <pubDate>Thu, 28 Aug 2008 23:20:10 CDT</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/5009/#post5009</link>
    <guid>http://www.activecollab.com/forums/post/5009/#post5009</guid>
    <title>Post #4 by xdexx</title>
    <dc:creator>xdexx</dc:creator>
    <description><![CDATA[<p>Would this work with version 0.7 ?<br />
<br />
Cheers,<br />
Dejan V.</p>]]></description>
    <pubDate>Wed, 29 Nov 2006 04:15:57 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/4685/#post4685</link>
    <guid>http://www.activecollab.com/forums/post/4685/#post4685</guid>
    <title>Post #3 by silverblood</title>
    <dc:creator>silverblood</dc:creator>
    <description><![CDATA[<p>yes, allbeit a very basic and ugly one: http://chromiteblue.com/Public/EnlargeThumbnail.html</p>]]></description>
    <pubDate>Mon, 13 Nov 2006 14:35:50 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/4679/#post4679</link>
    <guid>http://www.activecollab.com/forums/post/4679/#post4679</guid>
    <title>Post #2 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Any demo of the behavior?</p>]]></description>
    <pubDate>Mon, 13 Nov 2006 12:05:27 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/4677/#post4677</link>
    <guid>http://www.activecollab.com/forums/post/4677/#post4677</guid>
    <title>Post #1 by silverblood</title>
    <dc:creator>silverblood</dc:creator>
    <description><![CDATA[<p>by installing the (untgzipped) package at chromiteblue.com/Public/EnlargeThumbnail.tar.gz to the <br />
[activeCollabRoot]/public/assets/javascript/widgets folder<br />
<br />
then modifying the following:<br />
[activeCollabRoot]/application/views/files/file_details.php<br />
[activeCollabRoot]/application/views/files/index.php<br />
<br />
so that following the lines (line 33 in index.php, and line 29 in file_details.php):<br />
<br />
  add_stylesheet_to_page('project/files.css');<br />
?&gt;<br />
<br />
the following is added:<br />
<br />
&lt;?php echo use_widget('EnlargeThumbnail') ?&gt;<br />
<br />
<br />
and so that the following line (line 47 in index.php, and line 36 in file_details.php):<br />
<br />
    &lt;div class=&quot;fileIcon&quot;&gt;&lt;img src=&quot;&lt;?php echo $file-&gt;getTypeIconUrl() ?&gt;&quot; alt=&quot;&lt;?php echo $file-&gt;getFilename() ?&gt;&quot; /&gt;&lt;/div&gt;<br />
<br />
is replaced with:<br />
<br />
&lt;?php<br />
$types = array( &quot;image/jpeg&quot;, &quot;image/jpg&quot;, &quot;image/gif&quot;, &quot;image/png&quot; );<br />
if( in_array( $file-&gt;getTypeString(), $types ) ) {<br />
?&gt;<br />
    &lt;div id=&quot;EnlargeThumbnail&quot;&gt;&lt;/div&gt;<br />
    &lt;a href=&quot;&lt;?php echo $file-&gt;getDownloadUrl(); ?&gt;&quot; onClick=&quot;return enlarge('&lt;?php echo $file-&gt;getDownloadUrl() ?&gt;',event)&quot;&gt;<br />
        &lt;img<br />
            src=&quot;&lt;?php echo $file-&gt;getTypeIconUrl(); ?&gt;&quot;<br />
            alt=&quot;&lt;?php echo clean($file-&gt;getFilename()); ?&gt;&quot;<br />
            title=&quot;&lt;?php echo clean($file-&gt;getFilename()); ?&gt;&quot;<br />
            border=&quot;0&quot; /&gt;<br />
    &lt;/a&gt;<br />
&lt;?php } else { ?&gt;<br />
    &lt;img src=&quot;&lt;?php echo $file-&gt;getTypeIconUrl() ?&gt;&quot; alt=&quot;&lt;?php echo $file-&gt;getFilename() ?&gt;&quot; /&gt;<br />
&lt;?php } ?&gt;<br />
<br />
one can get a somewhat less invasive thumbnail preview.<br />
if anyone is interested I can set up a diff patch or a package for the mod.<br />
</p>]]></description>
    <pubDate>Mon, 13 Nov 2006 11:33:03 CST</pubDate>
  </item>
</channel>
</rss>