I'm looking to load about 1000 images into Umbraco and retrieve the resulting nodeID for update into a database table. Is there any kind of API to do this? I'd even be happy to know the class which manages media and drive it myself. Failing both these, how might I import these into the database directly? It's not clear how the folder structure is created/named...
Tim Created a package to bulk import media items using a zip file. Maybe you can use that to import the images. You'll find it here, If you want to know how it works you can download the source here
Bulk loading media files via API
Greetings,
I'm looking to load about 1000 images into Umbraco and retrieve the resulting nodeID for update into a database table. Is there any kind of API to do this? I'd even be happy to know the class which manages media and drive it myself. Failing both these, how might I import these into the database directly? It's not clear how the folder structure is created/named...
Thanks!
Hi,
Tim Created a package to bulk import media items using a zip file. Maybe you can use that to import the images. You'll find it here, If you want to know how it works you can download the source here
Hope this helps you,
Richard
is working on a reply...