1. pyzote
  2. RO CSVI
  3. Thursday, 03 October 2013
  4.  Subscribe via email
hello Roland

OK, I have a couple of questions.
I am able to import my data to K2. How can I include image processing / upload to the CSV file?
Accepted Answer Pending Moderation
Hello,

You can add the field image to your import file and set the Process images to Yes in your template. To have CSVI import this image with your item.

The image must exist in the folder /media/k2/items/src/ and on import this image will be renamed to a K2 image name. K2 encrypt the filenames, so we can't keep the original name.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
so the path on the csv file would be eg: /media/k2/items/src/boomerang.jpg?
Is there no way to have /media/k2/items/src/ "hard coded" so it does not need to be added to the csv every time? Then my client would just have to put the file name...:)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
so the path on the csv file would be eg: /media/k2/items/src/boomerang.jpg?
No, the data in the file has to be only the name becuase the path is fixed by K2. In your file you would only have boomerang.jpg.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
hmmm.. that did not work... it only worked when I used the full path..
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
It works only if the path on the csv file is /media/k2/items/src/boomerang.jpg. It does not work with simple file name boomerang.jpg
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
That is very odd because the path is hardcoded into the code. Can you post your debug log for me to check?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
OK.. so my client has the same image used for several products.. the import only supports 1 image/field? is this correct? So if we wanted a place holder image I would have to rename images placeholder1.jpg, placeholder2.jpg etc etc? And then ftp the same images repeatedly with different names? I guess this is a fault of K2?
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
the import only supports 1 image/field? is this correct?
Correct, as you can only add 1 image to an item.

And then ftp the same images repeatedly with different names? I guess this is a fault of K2?
Correct again because image names are encrypted based on the item ID.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!