# Upload image button to product image

**URL:** <https://forum.wixstudio.com/t/upload-image-button-to-product-image/22744>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [May 8, 2020, 6:26pm UTC](https://forum.wixstudio.com/t/upload-image-button-to-product-image/22744 "2020-05-08T18:26:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![naimibaby](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/naimibaby/32/13371_2.png) [@naimibaby](https://forum.wixstudio.com/u/naimibaby)\
**Post date:** [May 8, 2020, 6:26pm UTC](https://forum.wixstudio.com/t/upload-image-button-to-product-image/22744/1 "2020-05-08T18:26:02Z")

</div>

Hi,  
I can’t succeed to upload image with the upload image button and add it to product image

All the images uploaded to folder “visitor uploads” and all the images that folder not have URL and without the option of copy URL  
The copy URL is their but its not working.

Someone knows how to do it?

---

<div class="post-metadata">

**Author:** ![anastasiias](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/anastasiias/32/15771_2.png) [@anastasiias](https://forum.wixstudio.com/u/anastasiias)\
**Post date:** [May 9, 2020, 10:58am UTC](https://forum.wixstudio.com/t/upload-image-button-to-product-image/22744/2 "2020-05-09T10:58:46Z")

</div>

Hey!

Not sure I am following, what do you mean by folder? If it is about [Wix Forms file upload](https://support.wix.com/en/article/accessing-files-submitted-through-the-file-upload-field-in-wix-forms) , then you will need to contact Wix Customer Care as they know best.  
[https://support.wix.com/en/article/contacting-wix-customer-care-for-support](https://support.wix.com/en/article/contacting-wix-customer-care-for-support)

In regards to your question about the URL of the image uploaded, I feel like we also require some further clarification regarding the matter.

If you are referring to a default Products Collection, it has Read-Only permissions so you can’t really upload anything to it via code.  
[https://support.wix.com/en/article/corvid-wix-stores-products-collection-fields](https://support.wix.com/en/article/corvid-wix-stores-products-collection-fields)

Please elaborate on the issue you are encountering and explain the exact actions you are trying to perform. Also check out the links below as they can help you start:  
[https://www.wix.com/corvid/reference/wix-media-backend.mediaManager.html#getFileUrl](https://www.wix.com/corvid/reference/wix-media-backend.mediaManager.html#getFileUrl)  
[https://www.wix.com/corvid/reference/$w.Image.html](https://www.wix.com/corvid/reference/$w.Image.html)

---

<div class="post-metadata">

**Author:** ![naimibaby](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/naimibaby/32/13371_2.png) [@naimibaby](https://forum.wixstudio.com/u/naimibaby)\
**Post date:** [May 9, 2020, 12:25pm UTC](https://forum.wixstudio.com/t/upload-image-button-to-product-image/22744/3 "2020-05-09T12:25:21Z")

</div>

Hi, thanks for answering.  
when you upload image with the upload button the images is automatically upload to folder in the media manager named: Visitor Uploads

all images in that folder dont have external URL

and i cant use it in the wix-stores-backend =\> addProductMedia()

- addProductMedia() Need external URL  
thanks

---

<div class="post-metadata">

**Author:** ![mehmethan\_0745](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/mehmethan_0745/32/32568_2.png) [@mehmethan\_0745](https://forum.wixstudio.com/u/mehmethan_0745)\
**Post date:** [August 30, 2025, 7:50pm UTC](https://forum.wixstudio.com/t/upload-image-button-to-product-image/22744/4 "2025-08-30T19:50:11Z")

</div>

i have same problem, how can i solve?

I want user upload a photo then i connect cms dataset to galery viewer. I want to see user uploaded photo will be seen in galery but uploaded photos are in only visitor uploads file. I want “user can see in galery in a few seconds” time is not important.

---

<div class="post-metadata">

**Author:** ![user5996](https://avatars.discourse-cdn.com/v4/letter/u/9d8465/32.png) [@user5996](https://forum.wixstudio.com/u/user5996)\
**Post date:** [September 5, 2025, 11:55am UTC](https://forum.wixstudio.com/t/upload-image-button-to-product-image/22744/6 "2025-09-05T11:55:26Z")

</div>

That’s definitely frustrating. The issue may stem from the “Visitor Uploads” folder not providing accessible external URLs, so the `addProductMedia()` function can’t use those images. It might help to upload the image separately to your Media Manager (where you can get a proper URL), then use that link with `addProductMedia()` to attach the image to your product.
