Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[fr-fr] Thumbnail (miniature) dans une liste d'articles
Bonjour tous,
J’aimerais ajouter les miniatures à une liste d’article et voir les grandes images lorsque que je suis dans un article.
J’ai essayé avec différent plugin (ici wet_article_thumb), mais rien à faire, les miniatures n’apparaissent pas. J’ai fais le tour du forum sans trouver rien de très précis.
Voici ci-dessous le module article que j’utilise. Vous remarquerez que j’utilise également le plugin “beginning” :
<code>
<txp:if_individual_article>
<h2><txp:title /></h2>
<txp:body />
</txp:if_individual_article>
<txp:if_article_list>
<h2><txp:permlink><txp:title /></txp:permlink></h2>
<txp:wet_article_thumb />
<txp:beginning length=“100” format=“inside” linktext=“Lire la suite” styleclass=“morelink” cfield=“continue” />
</txp:if_article_list>
<div style=“text-align:left;margin-bottom:1em;clear:both;”>
<img src=”<txp:site_url />images/1.gif” style=“height:1px;width:400px;” class=“divider” alt=”“ />
</div>
</code>
Je sais pas si quelqu’un parmis vous a une mise en page qui rappelle un peu ce que j’essaye de mettre en place ?
Voilà …
Merci et bonne journée
y.
«Là où croît le péril, croît aussi ce qui sauve.»
- Friedrich Hölderlin -
Offline
Re: [fr-fr] Thumbnail (miniature) dans une liste d'articles
Are you sure that you have placed the numerical image id into the article’s image field (not the full paths like /image/3.jpg, just one number e.g. 3)? Your form looks correct.
Offline
Re: [fr-fr] Thumbnail (miniature) dans une liste d'articles
Oh … i catched something here …
It’s because i put my images directly in the text !
But now, how to use the txp:image tag without id in my form ? Because the thumbnail appear but not the full image anymore in the individual article … ?
only way i’ve found it’s to keep the tag in the text and use a div with an
<code>img {display:none;}</code> …
My new form :
<code>
<txp:if_individual_article>
<h2><txp:title /></h2>
<txp:body />
</txp:if_individual_article>
<txp:if_article_list>
<h2><txp:permlink><txp:title /></txp:permlink></h2>
<txp:wet_article_thumb />
<div class=“noimage”>
<txp:beginning length=“100” format=“inside” linktext=“Lire la suite” styleclass=“morelink” cfield=“continue” />
</div>
</txp:if_article_list>
<div style=“text-align:left;margin-bottom:1em;clear:both;”>
<img src=”<txp:site_url />images/1.gif” style=“height:1px;width:400px;” class=“divider” alt=”“ />
</div>
</code>
Thanx for your time and your plugin !
y.
Last edited by yhugo (2006-06-11 04:36:16)
«Là où croît le péril, croît aussi ce qui sauve.»
- Friedrich Hölderlin -
Offline
Re: [fr-fr] Thumbnail (miniature) dans une liste d'articles
txp:article_image displays the full size image just like txp:wet_article_thumb displays the thumbnail. Just enter an image id into the article’s image field. You might also try Mary’s upm_image, a very full featured plugin covering all aspects of images, front side as well as admin side.
Offline