17488 Posts in 4473 Topics by 1978 members
|Go to End|
28 April 2008 at 8:22pm
I'm trying to create a template with images. Every image is a link with a download, only I can't figure out how to do that. Can somebody help me with that?
The code in my template is:
<% control Informatie %>
<li><a href="linkToDownload" id="trigger_$ID" title="">$Image.SetWidth(140)</a></li>
<% end_control %>
In the cms I've created a second imageField for selecting the file to download.
Is that the right way to do this?
Thanks in advance for your help
28 April 2008 at 8:30pm
Are you able to post your Informatie.php file
28 April 2008 at 8:47pm
you can do <a href="$Image.URL" .. and that should be able to link to the actual version of the image and allow people to download it
28 April 2008 at 8:58pm
Thanks for the quick reply, the problem is solved with $Image.URL .
|Go to Top|