Lightbox and Album Module
Posted: Tue Nov 14, 2006 6:42 pm
Hello I've gotten the Lightbox Module loaded and working. I went ahead and loaded the Lightbox2 script to it. I following the Lightbox directions. Then I duplicated the default album theme, and called it Lightbox. I then changed the code below to add the rel="lightbox"
But now when I click and image, it loads the dimmed background, and the loading graphic. But it never loads the actual image. the loading graphic just continues to spin.
Any idea's why? I assuming that maybe it can't find the image source.
THanks,
Code: Select all
<ul class="picturelist">
{foreach from=$pictures item=picturesrow}
{foreach from=$picturesrow item=onepicture}
<li class="thumb"><a href="{$onepicture->link}"rel="lightbox"><img src="{$onepicture->thumbnail}" alt="{$onepicture->name} - {$onepicture->comment}" title="{$onepicture->name} - {$onepicture->comment}" width="{$onepicture->thumbnailwidth}" ></a>
</li>
{if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
{/foreach}
{/foreach}
</ul>
Any idea's why? I assuming that maybe it can't find the image source.
THanks,