How Can One Validate Image Upload

How can one properly validate image questions such that it only accept jpg or jpeg only,the image size not more than 100kb.

I also want the upload button disabled,we prefer the direct capturing.

Thank you

@chiabotu, maybe you could follow this support article Lowering the File Size of Collected Media to control the image quality.

You could also follow this post discussed previously to restrict a user from uploading images from the device: