Skip to content

Saving Image Doesn't Work #44

@hlaporthein

Description

@hlaporthein

I would like to save image in a directory from public folder in laravel 5.6. So, I used the code as documentation did like below.

$orginal_path = $request->file->store( 'cropped', 'public' );

$medium = Image::make($orginal_path,array(
	'width' => 300,
	'height' => 300,
	'grayscale' => true
))->save($orginal_path);	

I added true for image.php from config directory.

'write_image' => true,

Did I miss anything?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions