having the same issue… line 512 simply has the code ‘?>’
I was able to figure this out. All custom themes come with their own .js file. This one happens to be galleria.twelve.min.js. Open it with any editor and search for the term ‘imageCrop’ and change the value from !0 to false. Vertical images will now fit the stage instead of being cropped to fill it.