i have a idea to make image to show in HFS. but it need jalbum to create miniature.
for example
your photo folder name "PHOTO"
use jalbum to create miniature, and folder name "min"
now we got two folder
D:\WEB\PHOTO\ <<< this one is the real picture
D:\WEB\PHOTO\min\ <<< this one is miniature
then add these folder on HFS and make the "real folder"
like this
http://localhost/PHOTO/
http://localhost/min/
and we need to make a "new empty folder" before the "min" and name "min"
this one is the fake "min" folder.
http://localhost/PHOTO/
http://localhost/min/min/
http://localhost/min/
is empty folder
http://localhost/min/min/
is D:\WEB\PHOTO\min\
then change name of the real "min" folder to "PHOTO" (the real picture folder name)
now like this
http://localhost/PHOTO/
http://localhost/min/PHOTO/
http://localhost/min/
is empty folder
http://localhost/min/PHOTO/
is D:\WEB\PHOTO\min\
at last add some code in the fileTPL
change code in [file.jpg]
<img src='/~img_lock'>
to
<img src="http://%host%/min%encoded-folder%thumbs/%item-url%" onerror="if(!this.times){this.times=1;};if(this.times<=10){document.title=this.times;src='%item-icon%';this.times++;}else{}" border="0"/>
http://%host%/min%encoded-folder%thumbs/%item-url%
the "min" is the "empty folder" , "thumbs" is create by jalbum program.
now file *.jpg icon will try to get file under
http://localhost/min/PHOTO/thumbs/if nothing there then get the default icon "item-icon".
this one is for beta version, ex:
[file.jpg]
<tr><td>
{.if|{.get|is new.}|<span class=flag> NEW </span>.}
{.if not|{.get|can access.}|<img src='/~img_lock'>.}
<a href="%item-url%"><img src="http://%host%/min%encoded-folder%thumbs/%item-url%" onerror="if(!this.times){this.times=1;};if(this.times<=10){document.title=this.times;src='%item-icon%';this.times++;}else{}" border="0"/> %item-name%</a>
{.if| {.?search.} |{:<div class=item-folder>{.!item folder.} <a href="%item-folder%">%item-folder%</div>:} .}</div>
<td align=right>%item-size%<td align=right>%item-modified%<td align=right>%item-dl-count%{.$item end.}