Gallery popups commented out

I'm running SS2.2.3 with the Gallery Module and 0.6.5 of the Image Gallery Module. Up until this morning the galleries were working fine. I started investigating getting .flv and .f4v files into the galleries, and during that the popup function stopped working. I reverted all the files I changed back to how they were, and the popup still does not work.

I also reinstalled the gallery module from my original download. Still no joy.

What is happening is that the HTML code for the popup all seems to be getting generated, however html comments are wrapped around those links, and a copy of the link without the class information for the popup is being inserted.

I figured it out. Turns out that when you install ImageGallery, it has a template files named GalleryPage.ss and UserGallery.ss. GalleryPage.ss references UserGallery.ss. Since there is already a GalleryPage.ss in the Gallery module template files, when it loads the ImageGallery version takes precedence. So some changes I had made in the Image Gallery template files broke my regular Gallery pages.

To fix this I renamed all the template files in the Image Gallery module making sure that they included the word 'image' so that GalleryPage.ss was now ImageGalleryPage.ss (and UserImageGallery.ss, etc.). So now there are not any conflicts between the modules, which means that popups work fine in the Gallery Module, and mostly fine in the image module.

I say mostly fine, as in the Image Gallery I can use any of the pop ups except for lightbox, lightbox alt, and thickbox. Both lightboxes just do not work (load image on a new page) and thickbox brings up an animated image for a loading bar, but never gets any further than that.

I'm digging into that now, but if anyone has any ideas I'd greatly appreciate the help.