only want to allow sizes 250h, and 250w to be uploaded, how can i do this?
Develop games in your browser. Powerful, performant & highly capable.
Load the image into a temporary sprite, check the sprite dimensions, and if they exceed 250px, inform the user that they need to select a different picture.