Member
Member
phil_photo   16-02-2010, 20:45
#1

Hello everybody,

Sorry for my poor english, but i speak french
I'm working in local in my future website and I've downloaded zenphoto last week.
I wanted to know if someone could tell me how to integrate a colorbox in zenphoto. I want open the image in a colorbox when I click on the small image.
thank you in advance

Administrator
Administrator
acrylian   17-02-2010, 10:17
#2

The next release 1.2.9 will have Colorbox on board. But to enable that on your theme you have to

  1. Read the theming tutorial to understand how Zenphoto themes work
  2. Follow the instructions on the Colorbox site
Member
Member
phil_photo   17-02-2010, 11:49
#3

Thank you, but I just finally able to use slimbox2 using jqery of zp-core. I would see later on colorbox

Member
Member
jackdaw   26-04-2010, 10:48
#4

I want to open a link to an image 'manually' from inside a zenpage. What class do I need to add to the image? I tried the default class="cpModale" but that doesn't work. I guess ZenPhoto uses a different classname, but I can't find which.

Administrator
Administrator
acrylian   26-04-2010, 10:59
#5

Well, that depends on how you setup Colorbox. Different than Thickbox it does not exclusively rely on a special css class but on jQuery selectors. You can of course mimic that behaviour with those as well. Additionally the pages.php of your theme needs to include the Colorbox JS files. They are not available automatically. Look at Zenpage theme's image.php for an example how to setup Colorbox.

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