I have a view setup which is based on the 'taxonomy/term' view. This provides a List view which is then themed to modify the list view.
The list view displays output from a variety of content types including image nodes and cck nodes.
If the node is an image node, the view shows:
If the node is a CCK node, I'd like the view to show:
- thumbnail of an attached image file
- title
- type
My problem is I cannot see how to get the attached image file thumbnail to appear.
Is there a views module plugin that allows you to access attached files? If not, can someone advise on the template code that would allow me to display a thumbnail of an attached image file?
Below are the Views export and my template file.
thanks
$view = new stdClass();
$view->name = 'taxonomy_term';
$view->description = 'The taxonomy view with a depth of 0.';
$view->access = array (
);
$view->view_args_php = '';
$view->page = TRUE;
$view->page_title = 'taxonomy';
$view->page_header = '
print_r($node);
';
$view->page_header_format = '1';
$view->page_footer = '';
$view->page_footer_format = '3';
$view->page_empty = '';
$view->page_empty_format = '3';
$view->page_type = 'list';
$view->url = 'taxonomy/term';
$view->use_pager = TRUE;