I rechecked the instructions regarding the marriage photos in the latest IMM 5533(09-22). The IRCC has made it mandatory to upload the marriage photos in
JPEG,JPG or PDF Format and a seperate document providing the context of each photos uploaded and label the photos accordingly