It would be nice to have some options for how to display mult-file items in ExhibitBuilder. I don't know if this is the best way to handle it, but what I currently have is a them option for Diaplay All Files. If true, display all files of an item, if false and it's a multi-file item, display a link to the item page along with the first file image:
in exhibit_builder_exhibit_display_item in ExhibitFunctions.php:
</p>
<p> if ($file) {<br />
if ( get_theme_option( 'Display All Files' ) ) {<br />
$html = display_files_for_item( $item->Files, $displayFilesOptions, $fileWrapperClass );<br />
}<br />
else {<br />
$html = display_file($file, $displayFilesOptions, $fileWrapperClass);<br />
if ( count($item->Files) > 1 ) {<br />
$html = $html . exhibit_builder_link_to_exhibit_item(null, $linkProperties, $item);<br />
}<br />
}<br />
} else {<br />
$html = exhibit_builder_link_to_exhibit_item(null, $linkProperties, $item);<br />
}</p>
<p>
Or is this something that is better done in the exhibit_builder_exhibit_display_item filter called at the end ?
( Eventual goal is probably to just display the first image, and put the others in lightbox display. )