Question : laravel image validation
Answered by : hlio-freitas
'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
Source : | Last Update : Sat, 06 Jun 20
Question : image validate in laravel validater
Answered by : romesh-fernando
$this->validate($request, ['file' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048',]);
Source : https://stackoverflow.com/questions/31893439/image-validation-in-laravel-5-intervention | Last Update : Tue, 27 Oct 20
Question : laravel validation image or file
Answered by : uluk-ulanbekov
$validate = Validator::make($params = $request->all(), [ 'type' => 'required', 'files' => 'mimes:jpeg,png,jpg,svg,doc,docx,odt,pdf,tex,txt,wpd,tiff,tif,csv,psd,key,odp,pps,ppt,pptx,ods,xls,xlsm,xlsx'
]);
Source : | Last Update : Tue, 18 May 21
Question : Laravel image validate
Answered by : enthusiastic-emu-vueg23k662b8
$this->validate($request, [ 'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048', ]);
Source : | Last Update : Sun, 18 Sep 22
Question : laravel Image validation
Answered by : itchy-iguana-axpt8sq1aduz
'photo' => 'dimensions:max_width=4096,max_height=4096'
Source : | Last Update : Thu, 22 Sep 22