Restrict the image uploading while uploading with large size

18 Nov 20181 minute to read

By using the Rich text editor’s ImageUploading event, you can get the image size before uploading and restrict the image to upload, when the given image size is greater than the allowed size.

In the following, we have validated the image size before uploading and determined whether the image has been uploaded or not.