I am following a turtorial on how to save photos and resize them as thumbnails using PHP, Laravel 5.1, MySQL, InterventionImage plugin, and am getting the following error wh
It looks like your path is not being set correctly here:
$this->path = sprintf("%/%s", $this->baseDir, $this->name);
Shouldn't that be...
$this->path = sprintf("%s/%s", $this->baseDir, $this->name);
I did the same tutorial , you should do like this
Image::make($this->path.$this->name)->resize(128, 128)->save($this->thumbnail_path.$this->name);
instead of doing this
Image::make($this->path)->fit(200)->save($this->thumbnail_path);