Is there any right way to modify so called $boxes variable in gallery-assist-display.tpl.php?
I do want modify how thumbnails are shown. I can do most things before and after thumbs.

Now my only solution goes something like this

//some bad coding
  $boxes=str_replace('style="height:160px;width:160px;"','',$boxes);
  $boxes=str_replace('height:168px;width:168px;','height:98px;width:168px;',$boxes);
  $boxes=str_replace('style="margin-top:35px;','',$boxes);
print $boxes;

And anyway - using style tag is not recommended thing in my opinion - it's hard to theme such items :)