Re: lightbox ? | Titre du sujet : Re: lightbox ? par mmichel sur 25/06/2009 09:04:01
Je te fais une copie de mon template concernant l'affichage des photos (source: Administration des blocs »» Editer un bloc)
<br/>
<table style="width:100%;">
<{if $block.direction == 0}>
<tr>
<{foreach item=photo from=$block.photos}>
<td style="text-align:center; vertical-align:middle;">
<a href="<{$xoops_url}>/uploads/extgallery/public-photo/medium/<{$photo.photo_name}>" rel="lightbox[galleryDec]" title="<{$photo.photo_desc}> <br /><a href='<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>'>Plus d'info & Commentaires</a>">
<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_desc}>" title="<{$photo.photo_desc}>" />
</a>
<{if $block.desc}>
<p style="text-align:center;"><{$photo.photo_desc}></p>
<{/if}>
</td>
<{/foreach}>
</tr>
<{else}>
<{foreach item=photo from=$block.photos}>
<tr>
<td style="text-align:center; vertical-align:middle;">
<a href="<{$xoops_url}>/uploads/extgallery/public-photo/medium/<{$photo.photo_name}>" rel="lightbox[galleryDec]" title="<{$photo.photo_desc}> <br /><a href='<{$xoops_url}>/modules/extgallery/public-photo.php?photoId=<{$photo.photo_id}>'>Plus d'info & Commentaires</a>">
<img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$photo.photo_name}>" alt="<{$photo.photo_desc}>" title="<{$photo.photo_desc}>" />
</a>
<{if $block.desc}>
<p style="text-align:center;"><{$photo.photo_desc}></p>
<{/if}>
</td>
</tr>
<{/foreach}>
<{/if}>
</table>
<p align="right"> <font face="arial" size=3 color="#f4b525"> <a href="http://www.decliccevennes.com/modules/extgallery/public-album.php?id=3">► Cliquez ici pour voir toute la vitrine !</a></font>
J'ai mis "jseffects" à la racine du site en ftp, mais je me demande si cela est vraiment nécessaire... ? Tu parles sur ce post de lightbox, ce n'est pas celle ci de lignes ? https://www.frxoops.org/modules/newbb/ ... 7&forum=12&post_id=178781
encore un autre sujet https://www.frxoops.org/modules/newbb/ ... hp?topic_id=18869&start=0
|
|