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

dipherent's avatar

How to show the link of uploaded image or file in Nova?

HI friends,

I need your help again please.

I am using the Image field in Nova to upload an image. I want to also show the url to the uploaded image on the details page for the resources.


Image::make('Listing Image')->disk('public')
            ->path('listingimages')
            ->storeAs(function (Request $request) {
                return $request->listing_image->getClientOriginalName();
            }),

            Text::make(__('Name'), 'name')->sortable()->rules('required'),

I want to be able to see the url of the uploaded image and copy it if needed. I know I can just do right click and copy the image address, but is there a way to display the url ??

Thanks a lot,

0 likes
0 replies

Please or to participate in this conversation.