ZenphotoCMS Forum
colorbox - 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: colorbox (/thread-7225.html)

Pages: 1 2


colorbox - Al - 2010-06-19

Hi, how can I do after the album itself opens and click on the photo itself to open it with my colorbox, not a single photo

10x




colorbox - acrylian - 2010-06-19

Use the iFrame method. Please see the Colorbox website for detailed info how to configure. (This would not really be SEO friendly.)




colorbox - Al - 2010-06-19

thanks, but I can not handle, do not know exactly what to do and what script to edit




colorbox - acrylian - 2010-06-20

I suggest to read the theming tutorial and look at the standard themes (zenpage theme for example uses Colorbox) to get familiar with Zenphoto themes.




colorbox - Al - 2010-06-20

yeah, I saw that this issue using colorbox, but not the way I had in mind when I want open and I go www.mygallery.com/al/ al gallery with pictures themselves that I upload, and when click on this photo to me with open colorbox, now when the photo was http://mygallery.com/al/dsc03254.jpg.php and click on it it opens with my colorbox-a

10x




colorbox - acrylian - 2010-06-20

You need to change your theme if you want to do it different. There are loads of threads about doing this with other "box" scripts




colorbox - Al - 2010-06-20

K, what themes would you suggest me to do it as I want.

Thanks a lot




colorbox - acrylian - 2010-06-20

It is possible with virtually every theme.




colorbox - Al - 2010-06-20

I will explain exactly how you do it?




colorbox - dark_vidor - 2010-06-20

i would like too create a slideshow with colobox plugin.

i have based my new design on zenpage theme : http://www.gtrs.fr/galerie/

so how can i integrate colobox slideshow for album and not only for a picture ?




colorbox - acrylian - 2010-06-20

I assume you have read the theming tutorial. So in short you have to change your theme's album.php to open the image in a colorbox instead of a new page. This has been covered several times on the forum (seach for "thickbox" or "lightbox").

Note that if you use pagination the colorbox will only work for the page you are on.




colorbox - Al - 2010-06-20

 | 



colorbox - acrylian - 2010-06-20

Of course it does not. You can't copy just copy stuff and hope that it will work... You surely did not read the theming tutorial yet.




colorbox - Al - 2010-06-20

Now I understand that it will not help me change the code in album.php, I recommend you to use chililight2 but it gives many errors. Please if you can help me ...




colorbox - acrylian - 2010-06-20

You need to change the code on album.php. So last attempt: You have to change the image link within tne next_image() loop to point to the full image and attach the colorbox to that.




colorbox - Al - 2010-06-20

sorry but I do not know much about php

what code to use realy ?

i use zenpage themes




colorbox - acrylian - 2010-06-20

[i]sorry but I do not know much about php[/i]
Sorry, you then really need to learn some basics first. We won't teach those. Within that loop there is a image link (you know what a link is, right?), change that link to use getFullImageURL().




colorbox - dark_vidor - 2010-06-20

Thank's for this explication




colorbox - Al - 2010-06-21

trying all night and you are unable to do




colorbox - acrylian - 2010-06-21

Well, then this is probably above your knowledge, sorry.