I followed the instructions at https://www.wix.com/corvid/reference/wix-media-backend.mediaManager.html#importFile
but I keep getting typeError: cannot get property importFile of undefined.
Anyone else can relate? any fixes?
I followed the instructions at https://www.wix.com/corvid/reference/wix-media-backend.mediaManager.html#importFile
but I keep getting typeError: cannot get property importFile of undefined.
Anyone else can relate? any fixes?
Please show your code so we can help.
Hi Yisrael,
Here is a screenshot of the code
Here is the error
and the link to the [page:](page:
https://ahmedalv94.wixsite.com/frankinnovation/importfile
I)
[https://ahmedalv94.wixsite.com/frankinnovation/importfile](page:
https://ahmedalv94.wixsite.com/frankinnovation/importfile
I)
[I](page:
https://ahmedalv94.wixsite.com/frankinnovation/importfile
I) am trying to import the image using url. Just paste the image address and press import
The wix-media-backend API is only available from backend code. You will need to create a web module file (.jsw) for your code. See the article Corvid Web Modules: Calling Server-Side Code from the Front-End .
Thanks Yisrael!