Nova, getting error "This image could not be found" when uploading a photo Hi,
I'm getting this error ("This image could not be found") inside Nova, when i upload a Profile Photo with Image::
Upload works fine when using File::
I can access the image in the frontend, it's uploaded to storage folder just fine.
The delete button is gone too,
I'm not sure how to fix this.
Any help would be more than welcome :)
Hey @maskinbyggerne ,
When you upload the image via each method, is there any difference between the path strings that are stored when the image is uploaded?
I'm wondering if maybe on is a relative path and the other a complete path, perhaps?
Can you share examples?
Hey @steamdiesel , thanks for the reply.
Not sure what happend, but it's working now. Maybe a cache problem? Weird.
For those interested:
Code is pretty standard:
Image::make('Profile Photo')
->disk('public')
->maxWidth(500),
And my migration:
$table->string('profile_photo')->nullable();
Please sign in or create an account to participate in this conversation.