folderblog
What is folderblog?
Folderblog is a free PHP script that automatically displays the images placed in a given directory, no database needed. It can be used as a blog or gallery — and anything in between.

» demo blog   » learn more   » download now

Discussion
Flash Exif Data Display Problem(back to index)
Has anyone experienced problems with the Flash exif data being falsely displayed on folderblog? I use the Minolta Dynax 5D and Canon Powershot A75 cameras and I hardly ever use the flash on them but most of the time flash on folderblog is displayed as 'On' even though the picture's exif data has it as 'not fired' or 'off' respectively for the two cameras.

Does anyone know how to display the flash data accurately?
posted by Anil on 6 Oct 05 at 10:57 AM
(I think) its a Bug in fb_exif.php
Line 65 -> change "ON" and "OFF"
posted by Tobias on 7 Oct 05 at 9:11 AM
Thanks for the reply but sorry for the stupid question, Tobias, change 'ON' and 'OFF' with what? Or do you mean simply switch one with the other?
posted by Anil on 7 Oct 05 at 10:56 AM
-> switch one with the other.
It work perfectly by my Homepage and my 3 cam's
posted by Tobias on 8 Oct 05 at 4:08 AM
Thanks, Tobias, it is not perfect but works in most of the cases. (There are still some photos where the flash data is still shown to be 'on' even though it was not used).
posted by Anil on 9 Oct 05 at 2:20 PM
I think it's the following line in the fb_exif.php extension:

"<#fbflash#>" => isset($data["Flash"]) ? (bindec($data["Flash"]) ? "On" : "Off") : "",

There are various possible values for the flash. 'Not fired' = 16 so maybe change that line to the following:

"<#fbflash#>" => isset($data["Flash"]) ? (intval($data["Flash"])==16 ? "Off" : "On") : "",
posted by Neil on 8 Jan 06 at 12:12 PM
Post a Reply:

Name:    Remember me
URL:    
(include http:// or mailto:)
(back to index)