Uploading Images and Printing the URL to a view.

merrick.christensen - November 10, 2009 - 16:44

When printing a URL to a view template file, from an uploaded image that was uploaded using "ImageField". It prints 3 values instead of a URL. How can I either print the URL or convert those values to a URL? All my settings are to print the URL to the image. When I preview my query in the views creator it gives me the URL. But when I view_get_view() it gives me those values. Any help would be greatly appreciated. This is a print_r of my $views->result.

Array
(
[0] => stdClass Object
(
[nid] => 139
[node_data_field_subtitle_field_subtitle_value] => Discovering New Frontiers
[node_type] => home_news
[node_vid] => 139
[node_revisions_body] => Discovering New Frontiers When my father discovered Jupiter nobody believed what he was talking about. The whole country thought it was a joke. Look who's laughing now.
[node_revisions_format] => 2
[node_title] => Project Rovor
[node_data_field_subtitle_field_background_image_fid] => 21
[node_data_field_subtitle_field_background_image_list] => 1
[node_data_field_subtitle_field_background_image_data] => a:3:{s:11:"description";s:0:"";s:3:"alt";s:0:"";s:5:"title";s:0:"";}
)

)

 
 

Drupal is a registered trademark of Dries Buytaert.