Page 1 of 1

Thumbs module ALBUM

Posted: Thu Jan 28, 2010 3:00 pm
by Rubio
Hello everyone, I have a problem with the module Album.

when the page of the site I receive the thumb of an album, leave me a space to the left and right.
See the blue arrows and green.

Image

Among other things, the space of the blue arrow exists only with IE and not firefox.

I do not want this space!

I tried to intervene in the style sheet, but less so do not go.

I think we should act on the model.
I use the following model:

{* Include JS files. You can move this to the head of your page template if you want *}


    var GB_ROOT_DIR = "modules/Album/templates/db/greybox/";







{if $pictureid !=0}

{* Big Picture *}

{$picture->name}

{$picture->comment}


{if $link.picture.previous}< Indietro{/if}
( Picture {$picturenumber}/{$picturecount} )
{if $link.picture.next}Avanti >{/if}

picture}" alt="{$picture->name|escape:'html'} - {$picture->comment|escape:'html'}"  title="{$picture->name|escape:'html'}  - {$picture->comment|escape:'html'}" />

{/if}

{* Album List *}
{if !$album}

{foreach from=$albums item=album}

link}">
thumbnail}" alt="{$album->name|escape:'html'}" title="{$album->name|escape:'html'} - {$album->comment|escape:'html'}"{$album->autothumbnailsize} />

link}">{$album->name}

({$album->picturecount} images)

{if !empty($album->comment)}{$album->comment}{/if}

{/foreach}


{else}

{* Photo List *}
{$album->name}

{$album->comment}

Click on a thumbnail to view a larger image. Click on the close button to close it. {if $returnlink}Return to the album index page{/if}

{if $pagecount>1}

<< 
{if $link.page.previous}< {/if}
page {$pagenumber}/{$pagecount}
{if $link.page.next} >{/if}
 >>

{/if}


{foreach from=$pictures item=picturesrow}
    {foreach from=$picturesrow item=onepicture}
    picture}" rel="gb_imageset[{$album->name|escape:'html'}]" title="{$onepicture->name|escape:'html'} {if ($onepicture->comment != "")}- {$onepicture->comment|escape:'html'}{/if}"> thumbnail}" alt="{$onepicture->name|escape:'html'} {if ($onepicture->comment != "")}- {$onepicture->comment|escape:'html'}{/if}" title="{$onepicture->name|escape:'html'} {if ($onepicture->comment != "")}- {$onepicture->comment|escape:'html'}{/if}"{$onepicture->autothumbnailsize} />
       

      {if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
    {/foreach}
{/foreach}


{if $picturecount==0}No image{/if}
{/if}

{if $picture->id>0}
{/if}






Can you tell me HOW TO PROCEED? ??  ???

P.S. I do not speak English but use a translator. Excuse me imperfections.
THANKS