Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

image dimension when uploading in laravel validation

$this->validate($request, [    'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048|dimensions:width=500,height=500',]);
Source by www.itsolutionstuff.com #
 
PREVIOUS NEXT
Tagged: #image #dimension #uploading #laravel #validation
ADD COMMENT
Topic
Name
9+9 =