zP skeleton - how to use colorbox? (even though not fully responsive)

Hi,

My client has asked if he can have colorbox on the image pages on zpSkeleton.

I've added the links to script & css & can get the modal box to open OK - I'm struggling however to get the default image to print in the modal. (no a href for me to add class to).

Can anyone point me in the right direction?

I've checked out colorbox site and read ZenPhoto theme docs, & I am aware that the theme author didn't wish to add colorbox because it isn't fully responsive.

Code for printing image in theme is:

if ($zpskel_ismobile) { $size = 420; } else { $size = 630; } printCustomSizedImage(getBareImageTitle(),$size,null,null,null,null,null,null,'remove-attributes');

Many thanks,
Ewan

Comments

Sign In or Register to comment.