Importing images with zip for Dataforms

Importing images with zip for Dataforms

by Leticia Dark-rose -
Number of replies: 2

Hi,

I'm trying to import a zip of images for my dataform and I keep getting "Invalid CSV file format - number of columns is not constant!"

I am wondering a few things:

  1. Do I name the zip the column name or field?
  2. How do i enable all column names to be present in the folder if I am uploading bulk images.

I would like to update current rows to have the imported images add to them aswell if this is possible.

The purpose of this is to create an image gallery with a custom set of metadata. If there is a better plugin available I would really appreciate any knowledge. I have tried media gallery but it doesn't give me enough flexability.

Thanks

Leticia.

Average of ratings: -
In reply to Leticia Dark-rose

Re: Importing images with zip for Dataforms

by Dominique Palumbo -
Picture of Particularly helpful Moodlers Picture of Plugin developers
Hi,

could you please link the csv file ?

It seems that one of your data can contain a separator, like a comma. So the parser consider that you've one extra column.

But analysing the file can be usefull to help.

Dominique.
In reply to Dominique Palumbo

Re: Importing images with zip for Dataforms

by Leticia Dark-rose -
Hi Dominique,

A sample is below. I had this and the two images zipped together and was trying to upload as one package. 

EAU:picture,EAU:name,Image,Video,Comments,EAC:edit,EAC:delete
,,sign.jpg,,safety first,,
,,ppe.png,,PPE image ,,