Fix rotation of images based on exif and strip metadata
Fix rotation of images based on exif and strip metadata

Fixes #3150

jonasdekeukelaere/forkcms,sumocoders/forkcms,forkcms/forkcms,jacob-v-dam/forkcms,jacob-v-dam/forkcms,forkcms/forkcms,sumocoders/forkcms,jessedobbelaere/forkcms,sumocoders/forkcms,jessedobbelaere/forkcms,jessedobbelaere/forkcms,bartdc/forkcms,sumocoders/forkcms,bartdc/forkcms,bartdc/forkcms,jacob-v-dam/forkcms,justcarakas/forkcms,justcarakas/forkcms,jonasdekeukelaere/forkcms,forkcms/forkcms,forkcms/forkcms,justcarakas/forkcms,jessedobbelaere/forkcms,jonasdekeukelaere/forkcms,jacob-v-dam/forkcms,sumocoders/forkcms,jonasdekeukelaere/forkcms,jonasdekeukelaere/forkcms