image in edit not apear if i create image then when click edit button the image in downloaded only
12 Replies
img still loaded but nothing apear!!!
what is your APP_URL in .env?
Do you have any accessor or mutator? I have this kind of problem before because of my accessor in model
like what this accessor
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
php artisan storage:link
i did it is good if i added then go to index page
but when i go to action edit and view it just downloaded
nothing of those in my model
can you check your console? is there any error on create/edit page?
blocked by core
edit:1 Access to fetch at 'http://localhost:8000/storage/ima/eMskRQUQLQGEgK9cHoSMVKNdkkdRAOOPl0SLIOBA.png' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
please try to change your APP_URL with 127.0.0.1:8000
Deal works thanks alot