Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5

Module ALBUM / GALLERY QUESTIONS
#6

Re,

En fait j'ai modifié le gabarit ImageGallery en ne gardant que la partie grande image
Code :
{* Album List *}


{if $picture->id>0}

{* Big Picture *}
<div class="bigpicture">
<p class="bigpicturecaption"><strong>{$picture->name}</strong><br />
{$picture->comment}<br />
<span class="bigpicturenav">
{if $link.picture.previous}<a href="{$link.picture.previous}" title="Previous picture">< Previous</a>{/if}
<span class= "albumpicturecount">( Picture {$picturenumber}/{$picturecount} )</span>
{if $link.picture.next}<a href="{$link.picture.next}" title="Next picture">Next ></a></span>{/if}
</p>
<img src="{$picture->picture}" alt="{$picture->name|escape:'html'} - {$picture->comment|escape:'html'}"  title="{$picture->name|escape:'html'}  - {$picture->comment|escape:'html'}" />
</div>
{/if}
<div style="clear:both"></div>
çà marche
si y'a un problème on peut essayer width auto dans la css d'album
Code :
.bigpicture img
{
/* Big picture settings */
    padding:8px;
/* Image padding to form photo frame. */
    width:auto;
voir ici http://cyberlot-web.lescigales.org/mle/e...gation.htm

-.
Répondre


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 2 visiteur(s)