crud image type field & path #905
-
Following https://backpackforlaravel.com/docs/6.x/crud-fields#image-pro
I've default filesystem.php entry:
I've created the right symlink with cmd: php artisan storage:link Instead if i modify same record i see the right image preview that have this link: Looking my file system i see the uploaded file here: Why image preview have a bad image link instead modify record have a right image link? Thanks for help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Sorry @blondie63 can you repost the screenshots with public urls ? I can't really access your localhost 😄 |
Beta Was this translation helpful? Give feedback.
-
Hey @pxpm It's a BUG; I'm also facing it. The Image Column Line:32 The asset() helper doesn't append any default disk. It just appends the To make it work I have to define the disk |
Beta Was this translation helpful? Give feedback.
@blondie63 You need to define the disk on the column.
CRUD::column('icon')->type('image')->disk('public');