Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Ajvanho's avatar
Level 14

Image saved in storage, but not in public

Image::make('photo')->disk('public'),
0 likes
3 replies
torriv's avatar

have you set up php artisan storage:link ?

Ajvanho's avatar
Level 14

Yes, but storage:link does not work normally on Homestead. Probably that is a problem, but I don't have a solution.

kkhicher1's avatar

Try this one

# config/filesystems.php

'custom' => [
            'root' => public_path('images'),
            'url' => env('APP_URL').'/images',
        ],

then use

Image::make('photo')->disk('custom'),
1 like

Please or to participate in this conversation.