Add function to imageUpload to strip metadata
authorLaury GvR <laury@gaslightmedia.com>
Thu, 22 Jun 2017 13:14:41 +0000 (09:14 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 22 Jun 2017 13:14:41 +0000 (09:14 -0400)
commitb4b03f80a3687790b94f568cd4b4dda0f9b83ec3
treee4a2b564490d2a5a599d9beec3bda0a5933dc81a
parent25bcfc42fd2661be3b6b19a53f700cffe579169c
Add function to imageUpload to strip metadata

We were having an issue with EXIF data giving unwelcome image
orientation to uploads. Through Image magick and GD any metadata
is now stripped. If neither is installed, the image will be
unchanged.
models/admin/ajax/imageUpload.php