coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: somnium on September 28, 2005, 12:21:31 AM

Title: Coppermine 1.3 / EXIF / ShutterSpeedValue
Post by: somnium on September 28, 2005, 12:21:31 AM
Him.

Im Using a Minolta Dimage 5 and the only way to show the Shutter Speed is the "Sutter Speed Value" (hex 0x9201). Is there any possibility to show this value in the Gallery?
I've searched the Forum the last hours and found a "ISO Hack" Guide which helped me to fix the "Missing ISO" bug in german language.. I tried to edit the files in th same way to find a way to show the shutter speed.. and found a "TAG_SHUTTERSPEED:" in the exifreader.inc.php file.

case TAG_SHUTTERSPEED:
                    // More complicated way of expressing exposure time, so only use
                    // this value if we don't already have it from somewhere else.
                    if ($this->ImageInfo[TAG_EXPOSURETIME] == 0){
                        $sp = $this->ConvertAnyFormat($ValuePtr, $Format);
                        $this->ImageInfo[TAG_SHUTTERSPEED] = (1/exp($sp[0]*log(2)));
                    }
                    break;



But... i have no clue how to bring this in the Gallery Page..


Thank you for any help.  ;)