Cleanup after PR merge, updated changelog
| | |
| | | - Fix various iCloud vCard issues, added fallback for external photos (#1489993) |
| | | - Fix invalid Content-Type header when send_format_flowed=false (#1489992) |
| | | - Fix errors when adding/updating contacts in active search (#1490015) |
| | | - Fix incorrect thumbnail rotation with GD and exif orientation data (#1490029) |
| | | |
| | | RELEASE 1.0.2 |
| | | ------------- |
| | |
| | | $image = $new_image; |
| | | |
| | | // fix rotation of image if EXIF data exists and specifies rotation (GD strips the EXIF data) |
| | | if ($this->image_file && function_exists(exif_read_data) ) { |
| | | if ($this->image_file && function_exists('exif_read_data')) { |
| | | $exif = exif_read_data($this->image_file); |
| | | if ($exif && $exif['Orientation']) { |
| | | switch($exif['Orientation']) { |