Hi!
so funktioniert es:
suche:
$row_bg_number = ($bgcounter++ % 2 == 0) ? "tablerow" : "tablerow2";
und füge danach ein:
if (function_exists('exif_read_data') && $exif_data = @exif_read_data($src, 'EXIF'))
{
$exif_array = get_exif_info($exif_data);
foreach ($exif_array as $key => $val){
if ($key == "Make"){
$Make = $val;
}
if ($key == "Model"){
$Model = $val;
}
if ($key == "DateTimeOriginal"){
$DateTimeOriginal = $val;
}
if ($key == "ISOSpeedRatings"){
$ISOSpeedRatings = $val;
}
if ($key == "ExposureTime"){
$ExposureTime = $val;
}
if ($key == "FNumber"){
$FNumber = $val;
}
if ($key == "FocalLength"){
$FocalLength = $val;
}
if ($key == "ExposureBiasValue"){
$ExposureBiasValue = $val;
}
if ($key == "ApertureValue"){
$ApertureValue = $val;
}
if ($key == "MaxApertureValue"){
$MaxApertureValue = $val;
}
if ($key == "MeteringMode"){
$MeteringMode = $val;
}
if ($key == "Flash"){
$Flash = $val;
}
if ($key == "ExposureProgram"){
$ExposureProgram = $val;
}
if ($key == "ExposureMode"){
$ExposureMode = $val;
}
if ($key == "WhiteBalance"){
$WhiteBalance = $val;
}
if ($key == "GPSLongitudeRef"){
$GPSLongitudeRef = $val;
}
if ($key == "GPSLatitudeRef"){
$GPSLatitudeRef = $val;
}
if ($key == "GPSLongitude"){
$GPSLongitude = substr (strrchr($val, "("), 1);
$GPSLongitude = substr ($GPSLongitude,0, strlen($GPSLonigtude)-1);
}
if ($key == "GPSLatitude"){
$GPSLatitude = substr (strrchr($val, "("), 1);
$GPSLatitude = substr ($GPSLatitude,0, strlen($GPSLatitude)-1);
}
if ($key == "GPSAltitude"){
$GPSAltitude = $val;
}
if ($key == "GPSTrack"){
$GPSTrack = $val;
}
}
}
mfg Andi