The metadata is still not being displayed when images are uploaded into a mirrored forum thread with XFMG 2.2.0. Have these changes / fix been incorporated already or will they be in XFMG 2.2.1 when released?
Strange. It's definitely not working for me on my test site with XF 2.2.1 and XFMG 2.2.0. If I upload an image with metadata to the gallery then the metadata is displayed, but if I attach the same image to a mirrored forum the metadata is not displaying.
I do have comments enabled but the metadata is still not showing for attachments.
Also when I click that icon from within a forum it loads the image in a new window, it doesn't load the full media view. If I click the same icon from the mirrored image in the gallery then it does load the full media view, but the metadata is still missing. I know the metadata is embedded for the image as if I upload it directly to the gallery it displays correctly.
You should be able to view this forum and thread to see for yourself:
When uploaded attachments are resized, they lose EXIF data and by the time they are mirrored (in XFMG\XF\Attachment\Post::onNewAttachment(Attachment $attachment, \XF\FileWrapper $file) they have been resized.
I see the issue now When uploading this image to posts the j`son_encode() call in \XFMG:Media\MirrorManager::insertAttachmentExif` service fails. When json_last_error_msg() is added to get a meaningful message on why this is failing, it returns "Malformed UTF-8 characters, possibly incorrectly encoded".