Agrandissement image javascript

Résolu
Bonjour,

voici mon code php pour afficher mon image j'aimerait qu en cliqnant dessus l'image s'agrandisse les scripts que j'ai essayés ne fonctionnent pas

$i=1;
if($row['image'.$i]) {
echo '<center>
<img src="photos/avendrenp/'.$row['image'.$i].' " width="300" />
</a>
</center>';

merci

1 réponse

  1. Salut.

    Ce genre d'effet s'appelle "lightbox".
    Cherche sur Google, il y a plein de scripts pour ça.
    1
    1. merci ca a fonctionné impec avec lightbox c est résolu
      0