Last post Jan 13, 2015 08:13 AM by Priyalatha
Jan 13, 2015 06:47 AM|lolo512|LINK
I want to prompt the user to upload an image of specified size(in kb) and dimensions(in pixels). I managed to calculate the size of the uploaded image,for example limit the size of the image to 40 kb
now I want to get the size of file as well say for example limit its sizes to not more than 320x50 px
I have searched for dimension of images and all i found is how to upload images or how to make a gallery but nothing about dimensions.
how can I calculate the pixels using mvc 5?
Jan 13, 2015 06:59 AM|mike4u|LINK
refer this link:
Jan 13, 2015 08:13 AM|Priyalatha|LINK
You can get the size of the image using