store images from a lightbox in the database

Actually, just found the reason why I can’t get the images through code. It’s because it is a Wix Pro Gallery.
Here is the text from the ‘item’ method:

Note

You can only get the items of a Pro Gallery using the items property if you set its items using the items property or connect the gallery to a dataset first. If you set the gallery’s items in the Editor, you are not be able to retrieve them with the items property. This limitation does not apply to standard galleries.

This really sucks. Is there a way this could be rectified or do you have another trick up your sleeve.

Chris