projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78e23bd
)
Issue #166 - we test exif data below, no need for error output
author
Mikael Nordfeldth
<mmn@hethane.se>
Mon, 21 Mar 2016 01:56:47 +0000
(
02:56
+0100)
committer
Mikael Nordfeldth
<mmn@hethane.se>
Mon, 21 Mar 2016 01:56:47 +0000
(
02:56
+0100)
lib/imagefile.php
patch
|
blob
|
history
diff --git
a/lib/imagefile.php
b/lib/imagefile.php
index c707208af6eef0c917ab28ee4acdc66c4718dd15..a328df9852bd965f33e0d0107021505f61c56281 100644
(file)
--- a/
lib/imagefile.php
+++ b/
lib/imagefile.php
@@
-95,7
+95,7
@@
class ImageFile
if ($this->type == IMAGETYPE_JPEG && function_exists('exif_read_data')) {
// Orientation value to rotate thumbnails properly
- $exif = exif_read_data($this->filepath);
+ $exif =
@
exif_read_data($this->filepath);
if (is_array($exif) && isset($exif['Orientation'])) {
switch ((int)$exif['Orientation']) {
case 1: // top is top