Thanks @pinkfishies, you helped untangle me.
One additional question.
If I wanted to change the 'representation_tag' in the gallery sidebar:
$va_first_items_from_set = $this->getVar("first_items_from_sets"); ... $va_first_item = array_shift($va_first_items_from_set[$vn_set_id]); ... <?php print $va_first_item["representation_tag"];?>
to something other than
icon to say
medium where would I do that?
Couldn't find much on my own by working backwards from the gallery view.