copy of collections.php with specifics for pyramid images