I quite new in wordpress , and currently studying it. I am trying to build a kind of blog for a project and i am stuck in some part. I've made a search on this website and it seems that nobody has ask this question or maybe i am not searching the right posts: I want images uploaded by whatever user,except admin, from media library to be displayed in the frontend to a specific size only for example 600x900 and additionally I want to restrict users that upload their photos through media library to some specific size, lets say if the files are lesser 600x900 it is rejected and whatever is above goes through.
Anyone can help please? Is there a plugin that can do this or some lines of codes which i can insert into functions.php?