It *is* possible but there are a couple of consequences of doing so.
There is a [FILEURL] tag which returns a URL to the file. So, technically you could wrap the [IMAGE] tag with an <a href> tag like this...
<a href='[FILEURL]'>[IMAGE]</a>
This will do what you want, clicking on the image will download the file. HOWEVER, there are 2 things that you should keep in mind if you do this.
1. The [DOWNLOAD] link increments the Downloads count for the item before downloading the item, so using the [FILEURL] to provide downloads will result in those downloads not being counted in the Downloads statistics for the item.
2. When a user uploads a file, the Repository module inserts a GUID between the filename and extension for 2 reasons, so that 2 users who upload a file with the same filename.ext will not overwrite each other's files, and to add some measure of security so that unauthorized users cannot 'guess' the names of files and download them. By using the [DOWNLOAD] link, the actual location of the physical file is not exposed to the browser, but using the [FILEURL] *will* expose the URL so that people will know where your files are being stored. Also, the [DOWNLOAD] link will *strip* out the GUID before downloading the file, but the [FILEURL] will not, so the file downloaded to the user will include the GUID.
Your choice, you can do what you want with the [FILEURL] tag in the current release as long as you understand the exposure of doing so.
You can use a static *graphic* image for the download link ( see my project blog for details ) but I don't think that's what you're talking about.
Mike,
IIf you don't mind ...when you get a chance, add the ability to add a "Download" setting to the [IMAGE] tag, which when set to "True" will cause the image to download the file instead of display the image full size in Gemini as an enhancement request. We should also add this "Download" setting to the [FILEICON] tag as well.
Thanks