Hey there
I am creating a directory site using WIX and WIX Code. We have 58.000 records in a CSV file and in that file there is also URL’s to a lot of images. How do I import this into a data collection?
I have tried using Velo Tutorial: Importing and Exporting Collection Data with Code | Help Center | Wix.com but I can’t get it how to actually upload images to the data collection using scripting.
1 Like
The code will only upload the stuff as it is in the CSV.
as long as you are fine with having your assets live outside of the wix media platform, you should be good.
(i.e. if the URLs are publicly accessible, then no need to upload the images to wix).
if you want to import the images, not only the URLs, you need to do that from the media manager. open it, select the files you wish to upload, and go ahead.
you will then have to replace the original URLs with the URLs of the uploaded files.
ok what does the public urls of images look like? how do I write it
any valid image URL on the web.
as long as the resource points to an image that a browser can download, you’re good.
for example: http://www.lanlinglaurel.com/data/out/15/4005461-imagens-dos-simpsons.gif
Sorry I meant urls to images uploaded to wix
Hey Andreas were you able to come right? - I’m struggling with the same thing…
I have a lot of images that are named the same as the sku of the product I want to attach the image to. What is the easiest way to import a product file and reference the image in the images source field?
Ziv, replacing one by one is crazy when you have 2000 images. By other hand the wix url path change for every image, and finally if use a public server and just link the image, the load of the page is too slow, this last method even loose de zooming image option. There is not another option to discover an internal wix url? thank you
Yeah…we need a better solution, yo. If we have to manually re-link all product images to our product listings, that’s a big FAIL. You need to stop clobbering the file names when we upload them via the media manager. We need to be able to sustain a simple reference to our uploaded images from our CSV files in the productImageUrl field.
1 Like
You can upvote and comment on this feature request , or create a new request, to bring visibility to your issue. Thanks!