Hi,
I would recommend you to use the Media File datasource webpart in cooperation with the Media File List webpart. This will allow you to show up all the files within appropriate media library. This media library can be chosen within the Media File List webpart properties.
Once you have all the files in the datasource, it is just about correct transformation. Basically, you'll need to have correct syntax when speaking about an external JavaScript Lightbox solution.. Then you'll
append the CSS styles and JavaScripts to the master page and you are all set.
Best regards,
Ivana Tomanickova