ZenphotoCMS Forum
Add lightbox to zpArdoise theme - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: Add lightbox to zpArdoise theme (/thread-8077.html)

Pages: 1 2 3


Add lightbox to zpArdoise theme - leeloo047 - 08-01-2011

Hi,
I would like to add lightbox to the zpArdoise theme but I don't know where to put the line rel="lightbox" in the file image.php but maybe there is some other problemes in my syntax.
Did someone already try to add lightbox with success ?
Thx.




Add lightbox to zpArdoise theme - GrahameNZ - 09-01-2011

Have you seen this plugin Colorbox ?
http://www.zenphoto.org/2010/12/colorbox/




Add lightbox to zpArdoise theme - vincent3569 - 21-01-2011

Hello

FYI, zpArdoise 1.1 supports colorbox.




Add lightbox to zpArdoise theme - biopixel - 24-01-2011

Hi Vincent
I use zpArdoise 1.1 with zenphoto 1.4

  • if gallerific is used colorbox works fine
  • if gallerific is not used colorbox will not work either..

I like the look with bigger 150 pix thumbnails and would like colorbox to work in that mode as well.

Any suggestions on what to do?

Thanks for a very nice theme BTW :)




Add lightbox to zpArdoise theme - vincent3569 - 26-01-2011

hello,

sure, you can use colorbox without galleriffic.

you have 2 ways to do that :

1st, activate colorbox plugin and configure it to be used with album and images

  • you can configure slideshow to use colorbox rather than cycle
  • you can activate "use colorbox" option in option/theme to display full image with colorbox.



Add lightbox to zpArdoise theme - biopixel - 30-01-2011

Hi,
I have used the settings you provided above but still colorbox only works with gallerific.

-in colorbox plugin the "image" and "gallery" are checked and applied

-in theme/options the "use colorbox" is checked and applied

In slideshow the colorbox works fine, but changing the timeout value makes no difference in transition time.

Instead of the word "slideshow" I have the French "diaporama" any idea where to change that?

Thanks




Add lightbox to zpArdoise theme - acrylian - 31-01-2011

I can't reproduce any issue with the "speed" option of the slidesshow in Colorbox mode. Be sure to clear your browser cache and reload the page to see an effect.

Regarding the French word either that is accidentally hard coded in that theme or you have set your site to French.




Add lightbox to zpArdoise theme - biopixel - 06-02-2011

Cleared the cache and reloaded the page but still the slideshow is to fast. Timeout value is set to 6000 milliseconds.

Please have a look at www.biopixel.se

The french word diaporama is then hardcoded into the theme as I have english selected. Will look throu the code to change it. Any idea where it might be?

Since colorbox is not working in gallery I will make a clean install with latest version of zenphoto and zpArdoise and hope that will sort it out.




Add lightbox to zpArdoise theme - acrylian - 07-02-2011

You will have to set a higher value. No idea why the Colorbox behaves like that. That would be something to address by its developer then.

I can't help with the theme as I know nothing about it. I have changed the topic title so its developer might respond.




Add lightbox to zpArdoise theme - vincent3569 - 07-02-2011

hi,

to fix the translation issue of slideshow :

  • in album.php, line 18 :
    replace by

  • in image.php, line 24
    replace by

currently,, the speed of the slideshow of your site is fixed to 2000 (I have seen it by exploring the source's code of the pages).
to change it to 6000 (for exemple), change the value 'timeout' of the slideshow plugin.