Been up for hours messing with templates on my old AutoGallery SQL script. Now I remember why I neglected it for so long. Not sure if their newer TGPX script is any easier to deal with or if it would be worthwhile for me to upgrade to it but I really hate the AutoGallery SQL script. In any case I think I've finally gotten it to display the main page correctly.
