17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1324 Views |
-
link to download

28 April 2008 at 8:22pm
Hello,
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:<ul id="informatieCentrum">
<% control Informatie %>
<li><a href="linkToDownload" id="trigger_$ID" title="">$Image.SetWidth(140)</a></li>
<% end_control %>
</ul>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
Greets. -
Re: link to download

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
-
Re: link to download

28 April 2008 at 8:58pm
Thanks for the quick reply, the problem is solved with $Image.URL .
| 1324 Views | ||
|
Page:
1
|
Go to Top |



