PaulCatalin97's avatar

how to find storage directory cpanel/filezilla

i want to show an image previously uploaded in the database from a project that has been hosted with filezilla, the directory pathin filezilla and cpanel is like this /public_html/\imagineprofil

when I was using localhost, I used this

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

to show the image from the directory

if i change the path to \imagineprofil , does not work

0 likes
2 replies
diegoaurino's avatar

It is not clear to me. But...

What do you mean by /public_html/\imagineprofi? There is a backslash before the i in imagineprofi. The shell will interpret the next character as a special character. Is that what do you want?

Is the /imagineprofil/ the root directory or the public folder?

honore237's avatar

Give us more explaination because if you want to see image store in a directory you

<img src="{{asset('imageprofil/Yourimage.jpg')}}">

But if you want to have the profile photo of user. Give more explain about your problem. Give us the controller and your relationships about the image profile and then we wil happy to help you. Thanks

Please or to participate in this conversation.