ng2-image-upload icon indicating copy to clipboard operation
ng2-image-upload copied to clipboard

Restrict uploading of image to server on basis of size or dimensions of image.

Open monis01 opened this issue 6 years ago • 0 comments

Hi I am unable to find right option for this, I need to upload image of some specific size or some aspect ratio say 10:3 for w x h and if it does not meet the requirement it should not upload the image to server. I have found that when I receive data from new Image() inside the callback request is already sent to server. Is there any way implemented to stop from loading image something similar to we provide allowed extensions? or any example to look more deeper.

Thanks

monis01 avatar Jun 23 '18 03:06 monis01