You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Un petit PR pour gérer l'affichage d'une image représentante une catégorie : #330
Mise à jour de la doc plxShow
function catThumbnail
Usage
<?php $plxShow->catThumbnail('$format', $echo); ?>
Détails des paramètres
$format (string) (optionnel) : format du texte pour chaque tag ; valeurs par défauts : <a href="#img_url"><img class="cat_thumbnail" src="#img_thumb_url" alt="#img_alt" title="#img_title" /></a> ; valeurs possibles :
img_url : l'URL de l'image d'accroche
img_thumb_url : l'URL de la miniature de l'image d'accroche
img_title : Titre de l'image d'accroche
img_alt : Texte alternatif d'affichage de l'image d'accroche
$echo (boolean) (optionnel) : valeurs possibles : true / false. Par défaut la valeur est à true. Si la valeur est à false, alors l'image ne sera pas affiché
Exemples
<?php $plxShow->catThumbnail() ?>
<?php $plxShow->catThumbnail('<a href="#img_url"><img class="cat_thumbnail" src="#img_thumb_url" alt="#img_alt" title="#img_title" /></a>', true) ?>
The text was updated successfully, but these errors were encountered:
Un petit PR pour gérer l'affichage d'une image représentante une catégorie : #330
Mise à jour de la doc plxShow
The text was updated successfully, but these errors were encountered: