I've been exploring and getting somewhat close to what I want (getting the value of the title attribute into my lightbox frame) by reading [documentation](http://drupal.org/node/276378) 
and this topic [here](https://drupal.stackexchange.com/questions/19263/how-to-include-a-caption-a-cck-field-in-lightbox) at *Drupal Answers*.

I'm working with a `custom tpl.php` file with the following code (copied from elsewhere):

```
   if($id == 'field_afbeelding') {
            $samples = explode(';', $fields['field_werken_afbeelding_sampl']->content);
            $originals = explode(';', $field->content);
            for($i = 0; $i < count($samples); $i++) {
                print l($samples[$i], $originals[$i], array('html' => TRUE, 'attributes' => array('rel' => 'lightbox')));
            }
        }

```

From what I gathered in the documentation, it appears that I need to insert the `lightmodal[][]` array-thing into my code right at the end, where it says `array('rel' => 'lightbox')`.

In the *Drupal Answers* topic, the question starts off about how to insert a CCK field (or a caption or whatever) into a lightbox, but ends about how to get the title attribute. 

The very last comment says - I quote : 'Type `<pre><?php print_r($node); ?></pre>` in node.tpl.php to see what's available in the node object (what fields, how formatted, etc.) and then take what you want and output it to the lightbox. I hope that's what you need..'

In my case, it's a view, so I went with devel module, going `<?php global $field; dpm($fields);?>`

Now as for 'take what you want and output it to the lightbox', the problem is I don't recognize out of these clickable Krumo blocks what I need. I do get these Krumo blocks that the devel module shows where you can click in the them and explore those elements/objects/whatever you want to call them.

I've been expanding all of the arrays and been seing 'title' in nested arrays. I guess the question boils down to what exactly must I put in this `lightmodal[][]` array if I'm right about the lightmodal thing?

And, before you ask, I made sure than in CCK, when editing the image field, I have alt and title attribute checkboxes checked and also given values to the images at hand.