Preventing uploading of images that do not conform to a specific size
We want to write a handler to throw error back to the user while uploading an image if it does not conform to standard height and width. What's the best and recommended way to do this?
How to read asset being uploaded and extract it's size before allowing it to be uploaded?