Feeling like an idiot here:

What core files need to be edited to include lightbox code?