PaulCatalin97's avatar

Directory path

Ok, so i have a small problem. I use Filezilla to host my site, my images appear offline, but not online

i try to show images from specific directory like \cv or \imagineprofil where they upload on site and on host https://imgur.com/a/vSKUg7J

this is what i use to show image

src="{{asset('/imagineprofil/'.$profileimage->image)}}"
0 likes
3 replies
grenadecx's avatar

By the look on your folders, the folder name of imagineprofil is actually \imagineprofil.

If that's the intention, you need to reference it correctly. In your case it would be

src="{{asset('\imagineprofil/'.$profileimage->image)}}"

Edit: Actually I realize that might not help because the browser probably don't support backslash in the url. You would need to fix the folder name without the backslash instead.

Please or to participate in this conversation.