FotoMoto integration

Hey all. Has anyone successfully integrated Fotomoto with a CMS lightbox?

Fotomoto is a simple script that you add to the site and it will allow you to sell your photographs via their platform. Their script is automatically added to the images on the page. But I have run into issue after issue in getting it to work with the lightbox feature and wanted to see if anyone else has successfully implemented this script.

Update - I have gotten it to work but as far as I can tell it will only work with the masonry grid layout for the lightbox. You can see the live working example here - https://www.sarahsdomain.com/photography-copy-2

Note that as of this posting I have not styled the Buy buttons yet but they will be absolutely positioned over the corner of the images.