Hello @Genesis,
You can change ext_mode in sys_objects_storage table for table_files = bx_messenger_files from deny-allow to allow-deny and set ext_allow field value to jpg,jpeg,jpe,gif,png