Hello, begging you to apologize for translation errors because I do not know English.
I use the component PhocaGallery that offers many interesting features.
I believe there is a small bug in the code "EXIF.ShutterSpeedValue" which incorrectly displays a "Date" (example: 2012:03:28 11:49:44) instead of "Shutter Speed" (example: 6321928/1000000).
The data provided by the camera are of this type: <exif:ShutterSpeedValue> 6321928/1000000 </ exif: shutterspeedvalue>
Thank you in advance for your help
Anomaly on EXIF data
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Anomaly on EXIF data
Hi, not sure what you mean, I see not code to translate it to date:

Code: Select all
case 'ShutterSpeedValue':
if (isset($exif[$section][$name]) && $exif[$section][$name] != '') {
$shutterSpeedValue = explode ('/', $exif[$section][$name]);
if (isset($shutterSpeedValue[0]) && (int)$shutterSpeedValue[0] > 0
&& isset($shutterSpeedValue[1]) && (int)$shutterSpeedValue[1] > 1 ) {
if ((int)$shutterSpeedValue[1] > (int)$shutterSpeedValue[0]) {
$exifValue = (int)$shutterSpeedValue[1] / (int)$shutterSpeedValue[0];
$exifValue = '1/'. $exifValue . ' sec';
}
}
}
break;If you find Phoca extensions useful, please support the project
-
Zébulon-21
- Phoca Newbie

- Posts: 9
- Joined: 29 Aug 2012, 18:46
Re: Anomaly on EXIF data
English (translated by Google), the previous message means:
Hello,
Confirm that the label appears in error SHUTTERSPEEDVALUE a date (2012:10:24 11:18:02) instead of a "shutter speed" (10287712/1000000).
To get the right display, delete the code mentioned in your message (lines No. 634-647) in this file:
components/com_phocagallery/views/info/view.html.php
See the result on this web page.
Hello,
Confirm that the label appears in error SHUTTERSPEEDVALUE a date (2012:10:24 11:18:02) instead of a "shutter speed" (10287712/1000000).
To get the right display, delete the code mentioned in your message (lines No. 634-647) in this file:
components/com_phocagallery/views/info/view.html.php
See the result on this web page.
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Anomaly on EXIF data
Ok, thank you for the info.
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49149
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Anomaly on EXIF data
Hi, fixed in 3.2.3
Jan
Jan
If you find Phoca extensions useful, please support the project