Author note: Based on the AmigoJack's work here.
Extension Description: Auto rotates attachment images with exif data 'Orientation'
Check for free your IMGs for 'Orientation': https://www.get-metadata.com/
Author note (2): The destination IMG will be manipulated using memory resources, image rotation might fail because of needing much memory, the outcome is always a re-encoded picture, which means no (quality) lossless operation is involved. As per default the quality is set to 95, which preserves the filesize approx., bringing you a decent image quality, good I can say. All of the Exif metadata will be stripped with this operation. Creator: gd-jpeg v1.0 (using IJG JPEG v90), quality = 95.
Extension Version: 1.0.0-alpha
phpBB => 3.2.2,
PHP => 5.5,
PHP extension 'exif'.
Extra Requirements: The extension works, as well as with all the other pre-existing requirements, only if the
ACP/attachments settings "Maximum image dimensions:"is set to 0x0.
Extension installation: Copy the extension to