Support › MB User Avatar › Restrict User Avatar Image sizeResolved
In the instructions for setting up a custom avatar as a profile picture, it was recommended to select a single image field. Is there a hook to limit users to a certain size when uploading the image?
The field single_image does not support an option to limit file/image size when uploading. You can follow this article to know how to use the code https://neliosoftware.com/blog/devtips-limit-image-size-in-media-library/
or this plugin https://wordpress.org/plugins/wp-image-size-limit/