Set minimum height and width for featured image?
I want to make sure all authors upload a featured image that can actually be used as a featured image on the homepage without being stretched.
I am looking for a method to restrict an original image that is smaller than 640×360 to be used as featured image.
I have found a snippet of code that restricts the image height and width of ALL uploaded images (http://wordpress.stackexchange.com/questions/28359/minimum-image-size-for-uploading), but this will not work because I want authors to be able to add additional, smaller images to the post, if they like.
I prefer a snippet of code to add to the functions.php, but I am open to suggestions for different methods/plugins/functions code, if anyone has one.
- The topic ‘Set minimum height and width for featured image?’ is closed to new replies.