Brigsy, I looked at the source on your test page and think I found the problem. Did you add the [+image+] placeholder to your template? If not, you need to put that wherever you would like the image to show.
Let me know if that helps.
Kyle
***** Update 03/06/06 ******
I have updated the FileDownload Snippet with some new features.
You can specify which user groups can download the files.
You can specify the sort order (name,type,size,date) and ascending or descending
You can set which file types you would like to show, i.e. if you only want png files to show in the list.
You can give a user group the ability to delete files. There is a new placeholder for this [+delete+] for the template.
I have seen this done with a text file, the text file has a line for each file with the filename and the number of downloads, the file gets read into an array (splitting each line on the delimiter as it’s read) and the appropriate number gets incremented, the array is exploded back into delimited lines, and the file written to disk. A database would do the same thing, but would require a more complicated setup procedure to create the table.
***** Update 03/08/06 ******
I have put an updated version of the file download snippet out. This time there is a zip file for you to download. You can now track how many times a file has been downloaded and display it on the page. You can also use the snippet multiple times on the same page.
Due to the changes in this version I have a few extra files that need placed in a folder (filedownload) in your snippet directory. There are full instructions in the readme.txt file in the zip.
I am going to keep the older version as a download incase you do not want to include these extra files (It does not have the newest features though). The must recent version is in the zip.
WOW! That was fast, superb work! Thanks
I have put a new version out with download counting.