Vercel cant find images stored on the public root directory folder
Unanswered
hello sexy posted this in #help-forum
#help-forum I need some help.Images are not showing on deployed website, they are stored in the public root directory. I already tripled check the path and its 100% correct es: "src="/Images/filename.jpg" im using relative path. when the project ran locally images are showing only on vercel they are not showing at all.Does anyone faced this same problem before? if yes, how did you fixed it?
8 Replies
@hello sexy <#1007476603422527558> I need some help.Images are not showing on deployed website, they are stored in the public root directory. I already tripled check the path and its 100% correct es: "src="/Images/filename.jpg" im using relative path. when the project ran locally images are showing only on vercel they are not showing at all.Does anyone faced this same problem before? if yes, how did you fixed it?
does it work if you go to
/images/filename.jpg (image lowercase instead of Image uppercase)?i changed it to uppercase because soemone suggested it, but it dont work anyway
it was already on lowercase before i deployed the project to vercel.
i have another folder on my public directory where its contains some images too. this is one is lowercase but its not working for some reason. Same thing when i try to access the images i do it like this : src="/marilyn/imageName.png"
@hello sexy go to vercel, then deployment then source and verify if the files are the same as your local files
yea they are the same files both local and the source file i have on vercel
honestly, this is really weird, sorry i have no clues on why it's happening
Same