[eluser]Unknown[/eluser]
Hello codeigniters,
can anyone help?
I have set up a shadowbox gallery on my CI site. i am generating the image names through the
controller and onto the page as you might expect. ie:
<?php
foreach($featured as $val)
{
echo '<a >imageName.'" rel="shadowbox[Gallery]">
<img class="thumbs">imageName.'"/></a>';
}
?>
the thumb images display fine and the main image opens successfully as you
click on the thumbs, as you would expect in shadowbox. however, when you click on the forward or backwards icons on the image the images will not scroll through the gallery. i have tried the exact same script outside of the codeignoter environment and
it works fine. i am guessing it has something to do with the way codeigniter handles urls etc but i am pretty much at a loss. i could take the shadowbox portion of the site outside of the CI environment but i would prefer to keep things simple.
has anyone had a similar issue or can anyone suggest a solution?
many thanks.