22 Posts
denys
7 years ago
3
Topic

Hi, folk!

How to prepare column in CSV for import to image field with url and title?

I have result in my table:

{"image_location":"images/blogs/838/20/mako.jpg","image_title":"My title","image_description":""}

Thnx!

Get a VIP membership
4229 Posts
Kadministrator
7 years ago
2
Level 1

Is there a problem? Importing mage field should be no different from any other field, jsut make sure iameg field settings in the target content type match those from the source. But images need to be copied manually.

22 Posts
denys
7 years ago
1
Level 2

I'm create csv as:

id;title;image
1;My title;images/1.jpg

But in my image tag insetr alt="alternative desc"

When import my csv me imported contet display good with image. But alt in thi image set as 1.jpg

How to insert MY alt?

4229 Posts
Kadministrator
7 years ago
0
Level 3

If you use image field in advanced mode that allows alt to be saved it will produce record in database like the one you posted in first post - record in cvs needs to be in exactly the same format (also field in target content type needs to be set to advanced mode)

Get a Book for SEBLOD