             bgImageView.setImageURI(avatarUrl,
                                     withType: nil,
                                     andImageOrientation: .up,
-                                    toFitViewSize: bgImageView.bounds.size,
-                                    with: MXThumbnailingMethodCrop,
                                     previewImage: bgPlaceholder,
                                     mediaManager: session.mediaManager)
             

            mainCallAvatarImageView.setImageURI(avatarUrl,
                                                withType: nil,
                                                andImageOrientation: .up,
                                                toFitViewSize: mainCallAvatarImageView.bounds.size,
                                                with: MXThumbnailingMethodCrop,
                                                previewImage: mainCallPlaceholder,
                                                mediaManager: session.mediaManager)
        } else {

            onHoldCallAvatarImageView.setImageURI(avatarUrl,
                                                  withType: nil,
                                                  andImageOrientation: .up,
                                                  previewImage: onHoldCallPlaceholder,
                                                  mediaManager: session.mediaManager)
        } else {
