I'm trying to set up the same kind of image enlargement as used on this site: http://www.raypettibon.com/main.html, using the Album module.
I have modified the default Album template and come up with the following: http://tinyurl.com/odhz2fv
- however this shows only the first image enlargement, and I have not been able to figure out how to show the others.
Has anyone managed anything similar with the Album module?
I'm using CMS 1.11.8 with Album v. 1.10.3. This is the current template code:
Code: Select all
{* same as Thickbox *}
{* Album List *}
{if !$album}
{else}
{* Photo List *}
<ul style="width:300px;margin:0;padding:0;list-style:none;">
{foreach from=$pictures item=picturesrow}
{foreach from=$picturesrow item=onepicture}
<li style="float:left;width:50%;">
<a href="" title="{$onepicture->name|escape:'html'}
{if ($onepicture->comment != "")} - {$onepicture->comment|escape:'html'}{/if}" class="thumbnail"> <img src="{$onepicture->thumbnail}" alt="{$onepicture->name|escape:'html'}" title="{$onepicture->name|escape:'html'}"{$onepicture->autothumbnailsize} />
<span>
<img src="{$picture->picture}" alt="{$picture->name|escape:'html'}" title="{$picture->name|escape:'html'} - {$picture->comment|escape:'html'}" />
</span>
{/foreach}
{/foreach}
</a>
</li>
{if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
</ul>
{if $picturecount==0}No image{/if}
{/if}