Rendering Taxonomy Custom Fields in page.tpl.php Ahoy all, so, having some issues with displaying specific fields related to taxonomy terms in a page I created (page--taxonomy.tpl.php)

Essentially, I am trying to set a background image to a div, to pull from an image field (field_hero_image)on the taxonomy term. I have this working for normal nodes just fine with the following code:

&lt;div id="herowrap" style="background:url(&lt;?php echo file_create_url($node-&gt;field_hero_image[$node-&gt;language][0]['uri']); ?&gt;) no-repeat center center;background-size: cover;"&gt;


However, been having difficulty understanding how to modify this to pull this same image field from taxonomy terms.

It needs to be in page--taxonomy.tpl.php as it is being pulled before the node.tpl.php is being called (if i understand correctly?)

Any reason I can pull this easily from nodes, and not for taxonomy terms?

Thanks for any help!

Dan
I suggest taking a look at the 2 answers to this question. I think it's a similar case.