dimanche 11 mai 2008 à 15:08
La librairie GD le fait,si tu t'y connais un pti peu en PHP c'est assez simple.

Fais une recherche dessus.
Ou sinon une tite fonction JS dans la partie <head></head> à insérer :-
CODE
<script type="text/javascript">
function goImgWin(myImage,myWidth,myHeight,
continued from previous line origLeft,origTop) {
myHeight += 24;
myWidth += 24;
TheImgWin = window.open(myImage,'image','height=' +
myHeight + ',width=' + myWidth +
',toolbar=no,directories=no,status=no,' +
'menubar=no,scrollbars=no,resizable=no');
TheImgWin.resizeTo(myWidth+2,myHeight+30);
TheImgWin.moveTo(origLeft,origTop);
TheImgWin.focus();
}
</script>
et pour appeler la fonction dans ton <body></body> sur l'élément image
CODE
<a href="graphics/convent.jpg" target="_blank"
onclick="goImgWin('graphics/convent.jpg',240,302,100,50);
continued from previous line return false;"><img src="graphics/convent_t.jpg"
width="57" height="72" border="1"
alt="Picture of Stephen Chapman at the AMRA 50th Anniversary Convention" align="left" /></a>
Tu modifies que les 4 paramêtres de la fonction c'est à dire le 240,302,100 et 50 c'est à dire la largeur, la hauteur et les coordonnées du point d'origine.
Ce message a été modifié par lolocse - dimanche 11 mai 2008 à 15:14.