Display image preview in a4 size with image extension validation, image size validation(like image must not exceed the height 3508px and width 2480px) and image file size (not more than 5MB).
else error should be displayed in alert or in label.
Thanks in Advance.