Hi! I have a node with custom fields (using Fields UI). I have a multi-image uploader so that we can add as many images as we'd like, and for each provide an alt, title, and caption.
https://www.dropbox.com/s/d1r6gctdn5ltst1/field%20image%20setting%200.PN...

I did this by enabling a Caption field:
https://www.dropbox.com/s/joyr2860kefoh1z/field%20image%20setting%201.PN...

I can add these just fine, and they appear in my node just fine.

However, I'm importing mass content using the Import tool. I can choose which fields in my importing document go to which fields in my node. It seems all the fields are listed except the caption.
https://www.dropbox.com/s/cmem8dhxq6icmnl/field-image-setting-2.png?dl=0

Why? Where is that? How do I get my importer to add to the caption field?

Thanks,
Brendan

Comments

pixelsweatshop’s picture

What import tool are you using? If it is feeds, then that module doesn't support it. See https://www.drupal.org/node/2493869

I would imagine that is because the module doesn't add a field via the field API and just attaches itself to the image field directly. Therefore the data is not stored in a way for feeds to access. You will most likely have to write something custom to import or find another caption module.

bdparker’s picture

Yup, Feeds (with Tamper). Hmm... I wonder if I can get an example of this? I'm already writing PHP to export a CSV, so I can easily adjust the data for import. I'll take a look at the database and see if it's being stored in the image field. Thanks!

bdparker’s picture

Hmm... this is an issue still, but it looks like it's part of a larger problem. I can't get the data to display. I've opened a new thread here: https://www.drupal.org/node/2881702

pixelsweatshop’s picture

I would use the media module for your images. These are fieldable and usable in feeds. It will also allow you to access the fields in views for your other issue for flexslider gallery.

bdparker’s picture

Probably. Thanks! I'm having a bit of trouble getting started. :/ It seems my install doesn't look the same as other's installs on tutorial sites.