I would check the path you are passing into...
Image::make()
Can you pass a hard coded path into Image::make() to a test image that you manually put on your disk?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
What I`m trying to do is to:
$addition->thumbnail = $request->file('thumbnail')->store('dodatki', 'public');
$addition->save(); //that works and I have path in my db: dodatki/KZuizWcAQPIGYy1gEhM0NcPat2VxqcESENooYeub.jpeg
//I can do this so I can see my photo in view
$filename = Storage::url($this->attributes['thumbnail']);
return '<img src="'.asset($filename).'"/>';
//but I cannot create Intervention Image object in any way giving path to it:
$img = Image::make($this->attributes['thumbnail']);
$img = Image::make(Storage::url($this->attributes['thumbnail']));
//two above gives an error: "Image source not readable"
$img = Image::make(asset(Storage::url($this->attributes['thumbnail'])));
//this makes page cannot load - it keeps loading all the time
It is worth mentioning that I created symbolic link: php artisan storage:link.
Please or to participate in this conversation.