In K2 detail view there is 1 category image, and several gallery images. Both use different lighbox effects. Is there a way, for this example, to make all show up in "PrettyPhoto" effect in a gallery?
EXAMPLE: 1 cateory image; 3 gallery images; prettyPhoto box effect.
I was able to make the category image show in prettyphoto, but it doesn't show the 3 gallery images as well. This is because K2 doesn't recognize the php
rel="<?php echo $relName; ?>[gallery<?php echo $gal_id; ?>]"
I changed to
rel="prettyPhoto[gallery<?php echo $gal_id; ?>]"
So is there a way to make K2 recognize $gal_id?
<a class="sigProLink<?php echo $extraClass; ?>" rel="prettyPhoto[gallery<?php echo $gal_id; ?>]" href="<?php echo $this->item->imageXLarge; ?>" title="<?php echo JText::_('K2_CLICK_TO_PREVIEW_IMAGE'); ?>">
<img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo $this->item->image_caption; else echo $this->item->title; ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" />
</a>