can this work with this template?
http://www.rejetto.com/forum/index.php?topic=3203.0
all my images show broken
I am unsure why it is not working for you i have mine narrowed down to just work with only jpg's, this is my code below.
[file]
<tr><td class=row style="color:#FF6633; padding:0">%new%<script language="javascript">var c='%item-name%';switch(c.substr(c.lastIndexOf('.')) .toLowerCase()){case'.jpg':document.write('<a href="%item-url%"><img align=absmiddle src="%encoded-folder%thumb/%item-name%"> </a>');break;default:document.write('<img align=top src="/~img_file">');}</script><a href="%item-url%"> %item-name%</a>%comment%<td align=center class=row>%item-size%<td align=center class=row>%item-modified%<td align=center class=row>%item-dl-count%</tr>
Ino its chunky but thats how my whole template source is, trying to reduce as many bytes as possible, i only have a 16kb\s upload
The way mine works is that the file is actually in the directory of the images, and its a hidden file, so hfs cant see it, then yay we have jpg thumbnails.
This is getting long now so i will stop momentarily, i would rather use the hfs [file.jpg] code i have heard of, if that works on 2.1 beta 18 can someone tell me how to do that?