I have a form (#4 in ansl site) which has custom code to display images along with checkboxes for photo ordering. For some reason lightbox is not working. It works perfectly with the same eval options in a dbjoin element, just not with a cascading dropdown. Here is the eval php from Hugh with a couple of changes.
Code:
$path_parts = pathinfo($opt->text);
$filename = $path_parts['filename'];
$basename = $path_parts['basename'];
$opt->text = '
<div class="img-checkbox-item">
<a href="' . COM_FABRIK_LIVESITE . 'images/photogallery/' . $basename . '" rel="lightbox[photos]" title="' . $filename . '">
<img class="fabrikLightBoxImage" src="' . COM_FABRIK_LIVESITE . 'images/photogallery/thumbs/' . $basename . '" alt="' . $filename . '"/>
' . $filename . '</a>
<br/><br/>
</div>
';