je pense avoir identifié 2 codes. Je souhaiterais à présent que les images s'ouvrent en popup à la taille de la grande image.
Je pensais idiotement qu'en mettant "_new" à la place de " _blank" suffirait!!!
le premier code:
fig['position_thumb'] == 0) {
echo " <table border=\"0\" cellpadding=\"2\" cellspacing=\"2\" width=\"100%\">\n";
echo " <tr>\n";
echo " <td align=\"center\">\n";
if (mysql_num_rows($photo) >= 1) {
while (list($photoid, $extension) = mysql_fetch_row($photo)) {
echo "<a href=\"modules/".$ModName."/myimages/$photoid.$extension\" target=\"_blank\"><img src=\"modules/".$ModName."/myimages/thumb/$photoid.$extension\" border=\"0\" alt=\""._CLICKIMAGE."\"></a>\n";
}
}
deuxième code:if($config['position_thumb'] == 1) {
echo " <table border=\"0\" cellpadding=\"2\" cellspacing=\"2\" width=\"100%\">\n";
echo " <tr>\n";
if (mysql_num_rows($photo) >= 1) {
echo " <td width=\"2%\" valign=\"top\">\n";
echo " <table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\">\n";
echo " <tr>\n";
echo " <td>";
while (list($photoid, $extension) = mysql_fetch_row($photo)) {
$size = @getimagesize("modules/".$ModName."/myimages/thumb/$photoid.$extension");
$imgwidth = $size[0];
$imgheight = $size[1];
echo "<a href=\"modules/".$ModName."/myimages/$photoid.$extension\" target=\"_blank\"><img src=\"modules/".$ModName."/myimages/thumb/$photoid.$extension\" border=\"0\" alt=\""._CLICKIMAGE."\" width=\"$imgwidth\" height=\"$imgheight\"></a><br />\n";
echo "<br />";
}
merçi de m 'aider