![]() |
|
Clicking on image - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Clicking on image (/thread-8014.html) |
Clicking on image - can - 2010-12-30 Hi, I am new to zenphoto and so far I love it. There is just one thing I cannot figure out. I saw on the demo on site that when one click on an image it shows in a window with and X in the lower right corner and you can close it. On my installed version, when I click on a image, it opens just the image in the browser; you need to click on the back button to go back. I am sure that should be a simple setting but please help me find where it is. Thanks Clicking on image - kagutsuchi - 2010-12-30 What you are describing is Colorbox which has been available since 1.2.9. To enable it, you'll need to modify your theme to include the Colorbox script and then attach it to any appropriate elements. See http://colorpowered.com/colorbox/ for more info. For an example, I believe the Zenpage theme has Colorbox included. Also, note that the next release will include a Colorbox plugin. Activating this plugin will automatically include the Colorbox script, but it will still need to be attached to elements manually within the theme. Clicking on image - thetrainman - 2011-07-10 Is there a step by step "how to" on how to set up the colorbox to work with the stopdesign or default theme? I don't see the colorbox in the zp-core/js/ directory :S Thanks Clicking on image - acrylian - 2011-07-10 Colorbox is a plugin. Clicking on image - thetrainman - 2011-07-10 Yeah, I activated it but nothing has changed so I am going through the notions of hacking the theme manually to include it. I want to enable the page so when a user clicks on an image on the "album" page then the colourbox opens and shows the image. So far I have this:
Clicking on image - acrylian - 2011-07-10 You did not read the documentation. The colorbox plugin only loads the scripts needed. You have to both setup the jQuery calls and the theme to do whatever you want it to do. And you have to enable it specifially for what theme page to load (see plugin options). Stopdesign has nothing setup for this. Since the Colorbox script has loads of options we leave this to the theme designer what to do. You also should visit our documentation. What you want to use is the full image. |