note 89899 deleted from function.exif-read-data by danbrown
| From: | danbrown@php.net | Date: | Fri, 27 Mar 2009 15:38:13 +0000 |
| Subject: | note 89899 deleted from function.exif-read-data by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-152525@lists.php.net to get a copy of this message | ||
Note Submitter: aziaja at gmail dot com
----
<html>
<head>
<title></title>
<style type="text/css">
body { font-family: Verdana, Helvetica; font-size: 70%; }
p { margin-left: 9px; padding: 0px; }
img { margin: 10px; margin-bottom: -10px; border: 1px solid #000; }
</style>
</head>
<body>
<?php
$files = glob('*.jpg');
$n = 1;
foreach ($files as $i) {
$exif = exif_read_data($i, 'ANY_TAG');
echo('<img src="'.$i.'"/>');
echo(sprintf('<p><b>#%d:</b> %s, %ss, %s, %s
ISO.</p>',
$n++,
$exif['Model'],
$exif['ExposureTime'],
$exif['COMPUTED']['ApertureFNumber'],
$exif['ISOSpeedRatings']
));
}
?>
</body>
</html>