Help w/XML photogallery thumbs

Can someone tell me how to enable dynamic spacing between thumbs?

For instance, I would like to be able to have thumbs with inconsistant _x widths.

I know the “OEM” code spaces them by using the width of the first thumb. This of course makes any inconsistant dimensions of following thumbs throw everything out of whack.

Any ideas?