SigalZ's avatar
Level 5

New image does not display

Hello,

I just uploaded an image to my site into: public/img/

The image does not display and is not found.

I can see old images from this folder but not the new one.

I tried force refresh the page, didn't help.

How can I fix this please?

0 likes
9 replies
Snapey's avatar

only if you show code. What html?

Snapey's avatar

and you get 404? but the exact filename exists in the public/img folder (not the storage/app/public folder)

and letter case is identical?

SigalZ's avatar
Level 5

@Snapey Oh dear, silly me, I uploaded to the wrong public folder... nothing to see hear, move along

TopDev's avatar

In general, uploaded files are saving on \storage\app\public folder. It depends on how you specify the path.

Could you share your module to save files on server?

codingwithrk's avatar
<img src="{{ asset('img/bank-details.png') }}" class="img-responsive">

Try this if you are saving your file in public/img/ directory

Snapey's avatar

mark it solved to avoid getting pointless replies

drjavab's avatar

make link from storage public directory to project public directory and upload your medias (NOT ASSETS) into it.

Please or to participate in this conversation.