image dimension when uploading in laravel validation

Solutions on MaxInterview for image dimension when uploading in laravel validation by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "image dimension when uploading in laravel validation"
Thiago
16 Nov 2020
1$this->validate($request, [    'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048|dimensions:width=500,height=500',]);