Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

atmaboy's avatar

Nova avatar right top how change it ?

alt text

i change nova/resources/views/partials/user.blade.php

<dropdown-trigger class="h-9 flex items-center" slot-scope="{toggle}" :handle-click="toggle">
    <img src="/storage/{{auth()->user()->avatar}}?size=512" class="rounded-full w-8 h-8 mr-3"/>

    <span class="text-90">
        {{ auth()->user()->name }}
    </span>
</dropdown-trigger>

<dropdown-menu slot="menu" width="200" direction="rtl">
    <ul class="list-reset">
        <li>
            <a href="{{ route('nova.logout') }}" class="block no-underline text-90 hover:bg-30 p-3">
                {{ __('Logout') }}
            </a>
        </li>
    </ul>
</dropdown-menu>

but this not working, it gavatar like was before

0 likes
2 replies
mariusg's avatar

If you have updated to the latest version on Nova, meanwhile, and run php artisan nova:publish again you should have a user.blade.php file in /resources/views/vendor/nova/partials/where you can remove the image, or change it with what you need.

1 like
einsteinpp's avatar

Clear your cache (view:clear)

And you can't link image in html from the storage without making it public (storage:link)

Please or to participate in this conversation.