Member
Member
mercury66   25-09-2013, 21:07
#1

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

Administrator
Administrator
acrylian   25-09-2013, 22:01
#2

Look at Zenpage theme's image.php for an example.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.