This is the part where I remember why i did things that way

category_class and class are two different entities. Class:image tells
this to use my lightbox script