|
#1
|
|||
|
|||
|
a help with EXIF data
please, can anyone give me a hint how to fully enable Exif?
I added the exifer script to pixelpost, but it doesn't display all values... I make a quick installation of pictorialis ops: which has got exifer, and it works... but i DONT want to use pictorialis, it's HUGE and complicated, i do like pixelpost! ![]() so why pictorrialis exif works and pixelpost won't? I followed all instruction found in this forum. I guess index.php code has to be modified slighty to remove some commas and so on |
|
#2
|
|||
|
|||
|
forgot the address: http://steff.altervista.org/
|
|
#3
|
|||
|
|||
|
bump
|
|
#4
|
|||
|
|||
|
I too get really weird EXIF data.
Running v 1.3.... " Camera Model: NIKON D70 Exposure: 300/10 / Aperture: f/8.0 / Focal: 1300/10 mm / Flash: Fired " 300/10, why not just 30 secounds, and a focal length of 130 instead of 1300/10. Is this my exif reader or pixel post? (It's been bugging me for AGES!) Thanks, Wade http://photo.wi.id.au |
|
#5
|
|||
|
|||
|
I remember that I read somewhere that this NIKON camera gives some strange values, well EXIF is not a real standard for all producers...
|
|
#6
|
||||
|
||||
|
Re: a help with EXIF data
Quote:
http://www.pixelpost.org/forum/viewt...amp;highlight= with this last correction there should be no problem with Exifer
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#7
|
|||
|
|||
|
thanks raminia!
it was the ONLY thread I didn't read in this forum, I think!now I have ISO values, but sometimes I get weird numbers, such as Exposure: 1/60 sec / / Focal: 50 mm / ISO: 4278190180 / Flash: Not Fired sadly, sometimes F number aren't displayed. I can't understand why. (exif datas of the same photo are displayed correctly with Pictorialis) |
|
#8
|
||||
|
||||
|
exifz
may be it's a camera problem with exif standard. email me one of you photos. [myDomainName] @ raminia.com
Ramin
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#9
|
||||
|
||||
|
ummm
maybe Aperture and isosetting in you camera is save by other names. such as
aperture: "aperture" = "Aperture Value" = "FNumber" ISO: "Canon Makernote.Iso" = "ISOSetting" = "ISO" edit your index.php at about line 319 in the "// EXIF STUFF" section. For Aperture: try replacing Code:
$aperture = $exif['SubIFD']['ApertureValue']; Code:
$aperture = $exif['SubIFD']['FNumber']; Code:
$aperture = $exif['SubIFD']['Aperture Value']; Code:
$aperture = $exif['SubIFD']['Aperture Value']; For ISO setting: and this one Code:
$iso = $exif['SubIFD']['ISOSpeedRatings']; Code:
$iso = $exif['SubIFD']['Canon Makernote.Iso'];
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
|
#10
|
||||
|
||||
|
--------------------
oops!
I tested one of your photos from your photoblog and all seems ok on my localhost! check if your exifer version is out dated! maybe you have forgotten something.... I'll post here my EXIF section of index.php here Code:
// EXIF STUFF
//if(extension_loaded(exif)) {
if(true) {
$curr_image = "images/$image_name";
$exif = read_exif_data_raw($curr_image,1);
$exposure = $exif['SubIFD']['ExposureTime'];
$aperture = $exif['SubIFD']['ApertureValue'];
$capture_date = $exif['SubIFD']['DateTimeOriginal'];
$flash = $exif['SubIFD']['Flash'];
if ($flash != null && strpos($flash, "No Flash") === false) {
$flash = $lang_flash_fired;
} else {
$flash = $lang_flash_not_fired;
}
$focal = $exif['SubIFD']['FocalLength'];
$info_camera_manu = $exif['IFD0']['Make'];
$info_camera_model = $exif['IFD0']['Model'];
$iso = $exif['SubIFD']['ISOSpeedRatings'];
$wide = $exif['SubIFD']['MakerNote']['Settings 1']['ShortFocalLength'];
$long = $exif['SubIFD']['MakerNote']['Settings 1']['LongFocalLength'];
foreach($lenses as $l) {
if ($wide == $long) {
if (strpos($l, " $wide"."mm") !== false) {
$lens = $l;
break;
}
}
else if (strpos($l, "$wide-$long"."mm") !== false) {
$lens = $l;
break;
}
}
if($exposure != "") { $exposure = "$lang_exposure $exposure"; }
if($aperture != "") { $aperture = "$lang_aperture $aperture"; }
if($capture_date != "") { $capture_date = "$lang_capture_date $capture_date"; }
if($focal != "") { $focal = "$lang_focal $focal"; }
if($info_camera_manu != "") { $info_camera_manu = "$lang_camera_maker $info_camera_manu"; }
if($info_camera_model != "") { $info_camera_model = "$lang_camera_model $info_camera_model"; }
// ramin added
if($iso != "") { $iso = "$lang_iso $iso"; }
$tpl = ereg_replace("<EXIF_EXPOSURE_TIME>",$exposure,$tpl);
$tpl = ereg_replace("<EXIF_APERTURE>",$aperture,$tpl);
$tpl = ereg_replace("<EXIF_CAPTURE_DATE>",$capture_date,$tpl);
$tpl = ereg_replace("<EXIF_FLASH>",$flash,$tpl);
$tpl = ereg_replace("<EXIF_FOCAL_LENGTH>",$focal,$tpl);
$tpl = ereg_replace("<EXIF_CAMERA_MAKE>",$info_camera_manu,$tpl);
$tpl = ereg_replace("<EXIF_CAMERA_MODEL>",$info_camera_model,$tpl);
$tpl = ereg_replace("<EXIF_LENS>",$lens,$tpl);
$tpl = ereg_replace("<EXIF_ISO>",$iso,$tpl);
}
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7 |
| Post Reply |
| Thread Tools | |
|
|