back-end is ok,but front-end ,the image is broken
composer create-project bagisto/bagisto mywebtmp
mv all the files in the mywebtmp to /workdir/myweb
I only changed the database's info in the .env
php artisan install
I use a local domain to the /workdir/myweb/public, the domain is http://test.bagisto
Then, http://test.bagisto can open, http://test.bagisto/admin also can open. but only no image front-end and back-end.
so I do next:
php artisan storage:link
Then vim .env APP_URL=http://test.bagisto
php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan clear-compiled
php artisan config:cache
php artisan vendor:publish
It is all successed.
The when I upload image jpg back-end, and when I edit the produce to see the image, it is there.
also can see the jpg , so the back-end is ok.
but I cannot find the /workdir/myweb/public/cache , no this dir.
also it is broken.
how to fix this? thanks.
devansh-webkul last edited by
This is because we are using the intervention package, and the image will not get if you have not installed GD extension,