[ 'sometimes', 'image', 'mimes:jpeg,png,jpg', 'max:1024', 'dimensions:max_width=380,max_height=298' ], 'picture_home' => [ 'sometimes', 'image', 'mimes:jpeg,png,jpg', 'max:2048', 'dimensions:max_width=1030,max_height=239' ], ] ); } }