0

hello everyone this my form

if (Input::file()) {

    $image = Input::file('dataimage');

    $filename = $image->getClientOriginalName();

    $path = public_path('resimler/' . $filename);

    Image::make($image->getRealPath())->resize(250, 172.5)->save($path);

    $userprofile->image = $path;
    $userprofile->save();

}

but I'm getting an error.

I thank you for your help. I'm trying to upload pictures.

Rwd
  • 34,180
  • 6
  • 64
  • 78

0 Answers0