Download Image Link

I'm trying to add a link under my item/show image that takes advantage of the HTML5 download attribute. However, I can't remember how to create a text link vs. an image link.

Currently I have:
...display_files_for_item(array('imgAttributes'=>array('title'=>item('Dublin Core', 'Title')),'linkAttributes'=>array('download'=>'')));

It works and the image downloads in a modern browser or opens up the image location in an older browser. I just can't remember or find how to create a text link, currently it uses a square thumbnail.


Figured out a solution...not sure if there's a better way, but it works

<a href="'.html_escape(item_file('uri')).'" download>Download Original Image</a>';