Why does my file upload show as c:/fakepath?

Hello,

When people upload their files, the picture link is showing as c:/fakepath. I used this free custom file upload code : https://www.youtube.com/watch?v=SGtD6Pka9U0.

Can somebody help me out?

Tim

I have the same issue -

I’ve tested it with non-incognito window and it works fine

I’ve tested it with an incognito window and it has that fakepath

Update: I’ve found this older post - https://community.shopify.com/c/shopify-discussions/how-to-fix-dynamic-checkout-image-issue-with-custom-product/m-p/859197

Removing the dynamic buy button works.

If you have specific products for your file upload it’s best to create a new product template and remove the dynamic buy button in that template so it doesn’t affect all of your products.