Hi,
sadly enough the change above DOES NOT fix the Media library “from URL” feature.
I’m still working on my own version of the import-content plugin, published here: GitHub - kiddicolour/strapi-plugin-import-content as all I have left to do is fix a weird bug.
When sending the related file data to the upload service, it somehow is not handled correctly. The upload_file_morph record is correctly created in the database, but somehow it references the url of the file instead of the id, allthough passed in correctly as numeric value. As soon as I manually adjust the value in the database to point to an actual id instead of the string url, the media is correctly linked and displayed. I also want to add a content type override option, as the images that I need to import are hosted on an old wordpress server that doesn’t pass the correct Content-Type (each png images gets Content-Type “text/html”. Other servers I’ve tested with, send the correct mimetype…