Actually, I am having problem with the wordpress lightbox plugin: Fancybox where it don't work. Therefore, I tried to change to jquery pirobox instead. But I having problem of add the custom rel and class to the link image. I refered http://wordpress.org/support/topic/add-relxyz-to-gallery-link and tried without success moreover I want to add the attribute to certain post only.
Any help or suggestion will be appreciated.

Such a newbie at the time. I will post my debugging result here in case any people having same issue.
The problem is actually missing wp_head()

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.