i noticed a prob with nextgen gallery.
they use a select to select size, but no formated name like name[id][name], so this make an error :
Uncaught TypeError: Cannot read property ‘2’ of null
Why not to test if array before trying to get the value content?