We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have changed the image disk as and works fine:
'storage_disk' => env('LARAVEL_TRIX_STORAGE_DISK', 'trix'), 'trix' => [ 'driver' => 'local', 'root' => public_path('trix'), ],
But, in retrieving the data :
{!! $post->trixRichText->first()->content !!}
it shows just the name of the image as a link, by click on it, goes to something like: http://127.0.0.1:8000/storage/P4DpCCyw0xYdunncYy2Xo1HZdSf1zAPeqBrQUu4i.jpg
and don't show the image while the stored image is in the trix folder of the public folder.
the correct path must be: http://127.0.0.1:8000/trix/P4DpCCyw0xYdunncYy2Xo1HZdSf1zAPeqBrQUu4i.jpg How to fix this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have changed the image disk as and works fine:
'storage_disk' => env('LARAVEL_TRIX_STORAGE_DISK', 'trix'),
'trix' => [
'driver' => 'local',
'root' => public_path('trix'),
],
But, in retrieving the data :
{!! $post->trixRichText->first()->content !!}
it shows just the name of the image as a link, by click on it, goes to something like:
http://127.0.0.1:8000/storage/P4DpCCyw0xYdunncYy2Xo1HZdSf1zAPeqBrQUu4i.jpg
and don't show the image while the stored image is in the trix folder of the public folder.
the correct path must be:
http://127.0.0.1:8000/trix/P4DpCCyw0xYdunncYy2Xo1HZdSf1zAPeqBrQUu4i.jpg
How to fix this?
The text was updated successfully, but these errors were encountered: