

Here are the two I mentioned above (0001_s.jpg, 0001_2_s.jpg). This returned the first 100 files in that directory. There is a kind of insane mapping between the slug that Wix uses and the filename of the original file (the human readable filename, like mydog.jpg) This is what I will have to do.īecause I already have all the images/media in the media manager, and I did not have the forethought to capture the filesystem in a database when I uploaded it, I will have to put every single image into a gallery, then iterate through the gallery using the API, and put the files in a collection. The advice I was given by Wix support was to store the filenames in a collection.
#Wix formatted file identifier code
Sometime after the files are sitting in the media manager, try to write code that gets the media files by directory, filename, or any other rational way to browse a file system. (basically, do not capture the file name while you're uploading it).

Please try this:ĭo this using the media manager UI, or some other way that is NOT through the file upload API. My annoyance is that if your stuff is ALREADY there, you cannot programmatically access it. My annoyance is not with programmatically uploading.
