Code : Tout sélectionner
'img' => '<img src="$1" alt="' . $user->lang['IMAGE'] . '" />',
Code : Tout sélectionner
'img' => '<a class="resizeimg" href="$1" onclick="window.open(this.href); return false;"><img src="$1" alt="' . $user->lang['IMAGE'] . '" /></a>',
Code : Tout sélectionner
.resizeimg img {
max-width: 640px;
height: auto;
}
Code : Tout sélectionner
[adaptImage]{URL}[/adaptImage]
Code : Tout sélectionner
<a href="{URL}"><img src="{URL}" alt="Image" style="max-width: 100%; height: auto;" /></a>
Code : Tout sélectionner
[adaptImage]Adresse de l'image[/adaptImage]