How can I import media using CSV import?


#1

Hello, I am having a silly problem, I don´t know how to say in the CSV file where are my media files in order to be imported some of them at the same time, and with the rest of metadata… I mean, I visited the documentation, and I understand how to write the columns for metadata, but I don´t understand how can I put to import media with it.
Please, someone could help me…? An example would be really helpfull…
Best regards,
Margari


#2

It depends on what kind of media import you are doing.

If it’s a url, then the data in the column should be the full url of the media as it appears on the web - so something like https://upload.wikimedia.org/wikipedia/commons/7/79/2010-brown-bear.jpg For YouTube, IIIF, and oEmbed, the url or code.

Basically, you enter in the column exactly what you would when creating the media for an individual item. The only thing you can’t do via CSV is upload.


#3

What should I do if I have a bunch of PDFs that I want to import? Each one related to pertinent metadata record?
Thanks


#4

If the PDFs are not already available publicly online somewhere, one solution would be to install the module FileSideload and use its integration with CSV import.


#5

Thank you very much!! I got it :slight_smile: Yujuuu