![]() |
|
Usage of colorbox plugin with default theme - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Usage of colorbox plugin with default theme (/thread-8686.html) |
Usage of colorbox plugin with default theme - muelli - 05-06-2011 Hello, I'm pretty new with zenphoto and have problems with the colorbox plugin. I've activated it and selcted it for "album" and "image" on the settings page of the plugin, but it has no effect. Only the exif-info is shown in a colorbox window. Thanks and best regards, Usage of colorbox plugin with default theme - acrylian - 05-06-2011 The default theme has no built in support for full image display via Color box. I cite the plugin comment: Quote:Loads Colorbox JS and CSS scripts for selected theme page scripts. Note that this plugin does not attach Colorbox to any element. You need to do this on your theme yourself. Visit the Colorbox website about that. Usage of colorbox plugin with default theme - muelli - 05-06-2011 Thank you for your answer! I've read the passage but thought the plugin-configuration was meant. I know a little bit of how to modify css, but have no idea where to insert which code. So I'll read a little bit an try to figure it out. Also it would be great If you have any ideas or suggestions. I need a first step or inpulse and think that I'll learn the rest ;-)! Best regards and thanks for that great piece of software,# Usage of colorbox plugin with default theme - acrylian - 05-06-2011 Just look at the theme's image.php (there is already a call for the exif stuff) and the Colorbox website that also has some examples. All info is there. The colorbox can be configured in many ways so we choose not to add any predefined JS setup for it with the plugin. Also I recommended to read our theming tutorial. Usage of colorbox plugin with default theme - muelli - 07-06-2011 Hallo again, I think I've got it so far. I looked at some other themes and read a bit. It would be nice if you'd have a look at my result. I functions like intended, but I don't know if i have messed up something important. // The "image"-section looks like this:
Best regards, Usage of colorbox plugin with default theme - Laurent - 07-06-2011 If your image code is in a `` you have to put something like that in your header
|