Monday 16 November 2009 12:21:21 pm
Hi there... I'm trying to create a download (!) link to an image file. To be precise, i want a download link to an image ALIAS file. What I have is a link to the original file using this template code line:
<h2><a href="/content/download/{$node.data_map.image.contentobject_id}/{$node.data_map.image.id}">download</a> </h2> I think, that URL code is not documented anywhere, but i just found it by tweaking file download URLs. What i need is a download link to e.g. the "thumbnail" alias of the image attribute of the current node. By "download link" i mean, that ez should sent HTTP header for DOWNLOADING the image, just like a file download. Currently, i only have a link, which SHOWS the image:
<a href={$node.data_map.image.content[thumbnail].full_path|ezroot}> Well, let's hope, that this post actually gets posted...
Marco
http://www.hyperroad-design.com
|