Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 02-08-2005, 08:44 AM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
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
Reply With Quote
  #2  
Old 02-08-2005, 08:51 AM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
forgot the address: http://steff.altervista.org/
Reply With Quote
  #3  
Old 02-14-2005, 12:05 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
bump
Reply With Quote
  #4  
Old 02-14-2005, 01:58 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
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
Reply With Quote
  #5  
Old 02-14-2005, 02:36 PM
Connie
Guest
 
Posts: n/a
I remember that I read somewhere that this NIKON camera gives some strange values, well EXIF is not a real standard for all producers...
Reply With Quote
  #6  
Old 02-14-2005, 03:31 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Re: a help with EXIF data

Quote:
Originally Posted by steff
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
did you see this one?
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
Reply With Quote
  #7  
Old 02-15-2005, 10:56 AM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
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)
Reply With Quote
  #8  
Old 02-15-2005, 11:13 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
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
Reply With Quote
  #9  
Old 02-15-2005, 11:27 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
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'];
with
Code:
$aperture = $exif['SubIFD']['FNumber'];
This is more likely to be ok. if not try
Code:
$aperture = $exif['SubIFD']['Aperture Value'];
or maybe this
Code:
$aperture = $exif['SubIFD']['Aperture Value'];
-------------------------------------------
For ISO setting:
and this one
Code:
$iso = $exif['SubIFD']['ISOSpeedRatings'];
with this
Code:
$iso = $exif['SubIFD']['Canon Makernote.Iso'];
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #10  
Old 02-15-2005, 11:34 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
--------------------

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
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 09:56 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs