Preprocess custom CCK fields and print image URL in TPL file I want to preprocess a image field and later print it in my rss.tpl file and I'm currently using drupal 6.

This are the following codes I've tried in the template.php file but no luck :(

$vars['image'] = $field_uppdrag_logo;


&amp;

/*$vars['image']=$node-&gt;field['field_uppdrag_logo'][0]['value'];


&amp;

$vars['image'] = $node['field_uppdrag_logo'];*/


My tpl file:

&lt;?php
// $Id: views-view-row-rss.tpl.php 3296 2009-05-27 23:08:21Z tim $
/**
* @file views-view-row-rss.tpl.php
* Default view template to display a item in an RSS feed.
*
* @ingroup views_templates
*/

?&gt;
&lt;item&gt;
&lt;title&gt;&lt;?php print $title; ?&gt;&lt;/title&gt;
&lt;link&gt;&lt;?php print $link; ?&gt;&lt;/link&gt;

&lt;description&gt;&lt;?php
$description = html_entity_decode($description, ENT_QUOTES, "ISO-8859-1");
print strip_tags($description);
?&gt;
&lt;/description&gt;
&lt;image&gt;
&lt;?php print $field_uppdrag_logo[0]['view']; print $image; print $field_uppdrag_logo;
?&gt; 
&lt;/image&gt;
&lt;?php print $item_elements; ?&gt;
&lt;/item&gt;


How exactly do I accomplish this?
Try the below:

$vars['image'] = $node-&gt;field_uppdrag_logo[0]['value'];