Help - Search - Members - Calendar
Full Version: Creating image icon code
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
{PKI}-Cyris69
Ok, I've ran into a slight problem with the program HFS (HTTP File Server)
I wanted something to host my images so only I could view them without the need to upload to somewhere online and deal with the compression.

The only problem is this:
I can see the file names but not preview icon next to it.


It is coded like so, this global.
CODE
[file]
<tr><td>%new% %protected% <a href="%item-url%"><img src="/~img_file" /> %item-name%</a>%comment%<td align=right>%item-size%<td align=right>%item-modified%<td align=right>%item-dl-count%


Which produces this href
Click to view attachment

I would like to be able to add a small 80X80 or larger icon to the left of the link if at all possible. I would gratefully appreciate any help or insight.
If any more information is required from me please let me know.

Thanks in advanced!

EDIT:
This code may be useful...

CODE
[files]
<div id=folderstats>%number-folders% folders,  %number-files% files - Total: %total-size%</div>
<table cellpadding=5>
<th><a href="?sort=n">Filename</a>
<th><a href="?sort=s">Filesize</a>
<th><a href="?sort=t">Filetime</a>
<th><a href="?sort=d">Hits</a>
%list%
</table>
<div id=tools>
<a href="~files.lst?recursive">File list</a>
%archive%
</div>




CODE
[protected]
<img src='/~img_lock'
pandy
I guess that's proprietary code read by HFS, which I don't know anything about. Probably you have a better chance to get an answer if you ask at their forums.

http://www.rejetto.com/forum/index.php?c=6
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.