Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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
Are you able to post your Informatie.php file
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
Thanks for the quick reply, the problem is solved with $Image.URL .