We have views with multiple cck image fields http://screencast.com/t/UOGxa9Jr6 with 'Group multiple values' And we have a theme function to add the needed classes for a script to display these photos in fancybox
function mytheme_content_view_multiple_field($items, $field, $values) {
if($field['field_name']=='field_photos_images'){
$output = '';
$i = 0;
foreach ($items as $item){
if(!empty($item) || $item == '0')
{
if($i == 0) {
$output .= '<p><a class="" data-fancybox-group="thumb" href="/' . $item . '"><img src="/' . $item . '" alt="" width="200" height="150" /></a></p>';
}
else {
$output .= '<p><a class="hid" data-fancybox-group="thumb" href="/' . $item . '"><img src="/' . $item . '" alt="" /></a></p>';
}
$i++;
}
}
return $output;
}
}
each node has many images so it takes some time for the nodes to load, you can see each image load one by one taking about 10 seconds to complete