par
papipasto » 14 juin 2006, 14:34
merci c'est une bonne solution à laquelle je n'avais pas pensé.
j'ai fait comme ça si ça peut servir pour quelqu'un (en super simplifié)
mon fichier photo.php
<?php
header("Content-type: image/jpeg");
// Imge 1
$exif = exif_read_data('IMG.JPG');
echo exif_thumbnail("IMG.JPG");
?>
et l'autre qui l'appelle
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<img src="photo.php" />
</body>
</html>
merci c'est une bonne solution à laquelle je n'avais pas pensé.
j'ai fait comme ça si ça peut servir pour quelqu'un (en super simplifié)
mon fichier photo.php
[php]
<?php
header("Content-type: image/jpeg");
// Imge 1
$exif = exif_read_data('IMG.JPG');
echo exif_thumbnail("IMG.JPG");
?>
[/php]
et l'autre qui l'appelle
[php]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<img src="photo.php" />
</body>
</html>
[/php]