D7 - syntax in Field template My D7 content type has a field for an MP3 file. I want the field to display as an image which the user can then right click to download the file ie like this. My field template file looks like this:

var_dump($items) =

&lt;div style="border:10px solid violet;padding:4px; margin-bottom:10px"&gt;
&lt;?php var_dump($items); ?&gt;
&lt;/div&gt;

print_r($form) = 

&lt;div style="border:10px solid maroon;padding:4px; margin-bottom:10px"&gt;
&lt;?php print_r($items); ?&gt;
&lt;/div&gt;

&lt;div style="border:10px solid orange; margin-bottom:20px"&gt;    

&lt;?php echo $items[filesize]; ?&gt;
&lt;?php echo $items['filesize']; ?&gt;
&lt;?php echo $items["filename"]; ?&gt;
&lt;?php echo $items['url']; ?&gt;
&lt;?php echo $items['uri']; ?&gt;
&lt;/div&gt;

&lt;div style="border:10px solid green;margin-bottom:20px"&gt;
&lt;a href="&lt;?php echo $items['url']; ?&gt;"&gt;&lt;img src="/download.jpg"&gt;&lt;/a&gt;
&lt;/div&gt;


The result is here. 
Can anyone please tell me why the orange box is empty / not printing out, and the correct syntax re the green box to make the image link to the MP3 file URL instead of the page URL?

Thanks...
I think your are printing wrong the array $items. It should be something like 

print $items['#file']-&gt;filename;


The same is happening with the image issue.