I've got a View which is images from the image_views.patch_0.txt for the Image module. That's all working fine. But now I'd like to theme the output from my view. I can access all of the other fields that are output by the view, but I can't get an image.
Can anyone suggest the proper format for the image_display()
that is needed to get an image to show up when derived from a view?
This is an export of the view:
$view = new stdClass();
$view->name = 'latest_images';
$view->description = 'latest six images';
$view->access = array (
);
$view->view_args_php = '';
$view->page = TRUE;
$view->page_title = 'Photos tagged with %1';
$view->page_header = '';
$view->page_header_format = '1';
$view->page_footer = '';
$view->page_footer_format = '1';
$view->page_empty = '';
$view->page_empty_format = '1';
$view->page_type = 'list';
$view->url = 'new/images';
$view->use_pager = TRUE;
$view->nodes_per_page = '6';
$view->sort = array (
array (
'tablename' => 'node',
'field' => 'created',
'sortorder' => 'DESC',
'options' => '',
),
);
$view->argument = array (
);
$view->field = array (
array (
'tablename' => 'image',
'field' => 'nid',
'label' => ' ',
'handler' => 'image_views_handler_image_img_link',
'options' => 'thumbnail',