Upload images through code

We need a function to upload an image through code asap.

setFileFieldValue(’imageField’, ’https://placeholder.it/250x250/’);

that code would upload the image to the collection.

This is crucial now when we convert a lot of sites from WordPress to WIX to be able to transfer images from code to wix media servers.

This would be awesome.