I don't know of anything about the macro, per se, that would interfere with using your custom galleries.