Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View galleria-fs.php.patch
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
--- galleria-fs.php~ 2014-03-18 18:15:46.364798315 +0100
+++ galleria-fs.php 2014-03-18 18:15:51.035185714 +0100
@@ -445,7 +445,7 @@
if (!empty($exif['FNumber'])) {
$f = $this->exifv($exif['FNumber']);
$f = $f[0] / $f[1];
- $f = ' and f/'.$f;
+ $f = ' and f/'.round($f);
}
if (!empty($exif['ExposureTime'])) {
$s = $this->exifv($exif['ExposureTime']);
@@ -453,7 +453,7 @@
$s = $s[0] / $s[1];
} else {
$s = $s[1] / $s[0];
- $s = '1/'.$s;
+ $s = '1/'.round($s);
}
$s = ', '.$s.'sec';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.