I have been reading in the forum and through google to try to find this answer but have been unsuccessful.
On the index page I would like the colorbox to show up when you click on the gallery image. Normally it takes you to a new page but I do not want it to take me to a new page. I just want the colorbox to pop up right on that page.
I was able to activate it and it works when you go to that new page but there are no options to activate it on the index page.
Thanks in advance!
Comments
Colorbox should already be activated on the index page. I checked that off in the theme options.
I am having problems with the link part.
At one point I had the colorbox part working on the index page when I was using the default theme but in the colorbox it was just showing that new page. Because I am not sure what to change the link to.
Any ideas?
We are not sure what exactly needs to go in there or if anything else needs to be added.
If we add "<?php echo html_encode(getUnprotectedImageURL()); ?>" in the href on print_album_thumb.php which is what works on the print_image_thumb.php then nothing happens.
So what would we change href to and would we need to add or change any other files?
Thanks.
can you have a look on my personnal website who uses zpArdoise ?
http://www.vincentbourganel.fr/
can you explain to me what is your personnal need that is not on this website ?
maybe, could you give a link ?
- with zpArdoise, you don't need to allow colorbox in index.php (there is no display on this file)
- did you have downloaded the latest release of the theme (1.4) ?
- did you have checked the option "Use Colorbox in Album page" ?
in that case, if you have checked "Show Image Statistic strip", a colorbox will be displayed on the images below.
of course, on albums thumbnails, you can't have colorbox : the thumbs allow you go to on album page...
We want to have the colorbox pop up on the main page instead of redirecting to an album page.
You can take a look here: http://www.saecustoms.com/recent-deliveries/index.php
That is the index page of zenphoto.
We have it to the point that the box pops up but how can we have it so that the images from that album show up. It seems to be something with that href link.
Thanks,
Edit: Quickly visited your site. So you want to view all images of the album in the Colorbox? That would be a major change (and overload) as you will have to create an invisible list of all images to be able to do that. A colorbox can only view the images currently on the site.
Your page seems to be telling colorbox to do a slideshow, but you have not provided it a list of images to show. In addition, as mentioned by acrylian, maybe you need to link to the full-image not to the cached image.
But mostly I think you will have to do some proper research on colorbox and Zenphoto to see how this is accomplished.