No worries, I just like interfering in everyone else's business.
Forget all of the above, I have redone it with LightRoom. Example Here
Will detail my method a little later on (dinner, snooze), and offer suggestions for your own code.
In the mean time, don't send me anything as I have what I need (can't believe I haven't used the LightRoom plugin before - excellent) - but could you create a new folder in your site root called (say) lr_galleries and upload your newly exported folder into that?
Edit: - crossed posts! Will use your files for second item later on! - Will make it easier for path names etc.