3

Im using the datapump API - it works fine with my products, but now with updating images it wont work.

This is my array that Magmi doesnt like

array(8) {
  ["type"]=>
  string(6) "simple"
  ["sku"]=>
  string(6) "131017"
  ["image"]=>
  string(73) "/media/sdc3/wwwroot/site/public/importer/../import/NO/A_131017.jpg"
  ["small_image"]=>
  string(73) "/media/sdc3/wwwroot/site/public/importer/../import/NO/A_131017.jpg"
  ["thumbnail"]=>
  string(73) "/media/sdc3/wwwroot/site/public/importer/../import/NO/A_131017.jpg"
  ["image_label"]=>
  string(8) "A_131017"
  ["small_image_label"]=>
  string(8) "A_131017"
  ["thumbnail_label"]=>
  string(8) "A_131017"
}

(the path to the images are correct, and working)

When I imported my products, this worked fine, but there were descriptions etc. on

I have the following magmi settings:

using mode - Update existing items only,skip new ones Image import mode - override existing images Pre-download check for remote images - enabled Assign only existing images - no

My profile is also correct

closed as off-topic by Fabian Schmengler, Raphael at Digital Pianism, Qaisar Satti, Amit Bera, Rajeev K Tomy Apr 19 '16 at 4:18

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about third-party modules are generally off-topic because the scope of functionality and code are not available. For more information, see this meta post/answer." – Fabian Schmengler, Raphael at Digital Pianism, Qaisar Satti, Amit Bera, Rajeev K Tomy
If this question can be reworded to fit the rules in the help center, please edit the question.

  • If you found an answer please share it and mark it as solution. – Fabian Blechschmidt Mar 14 '13 at 21:14
1

image import is done relatively to image plugin "read local images from" field. i would advise to put:

/media/sdc3/wwwroot/site/public/importer/../import/

in this plugin configuration field.

Then to put only relative path in the datapump:

["image"]=>"NO/A_131017.jpg"

This is due to magmi compatibility with legacy dataflow format where "relative" paths were beginning with / , so magmi removes the first / from the value and considers all images as relative to something.

More complex setup is: having defined "magento base path" with a path (say /where/is/magento) having defined "real local images from" of image plugin to a relative path (relative/images) then put a value in the data for image (/false/relative/for/images/myimage.jpg)

Then the path that magmi would take for images would be:

/where/is/magento/relative/images/false/relative/for/images/myimage.jpg
  • Yea, I also read that part - but what I found very strange is its actually working fine in my full import (where I import both images, descriptions and other variables). But apparently it does not work when I only add image. The problem is that Im uploading the images in a not web folder, and I will not just move the files to media/import because I need to see which images that does gets imported. And as I can see its not possible to get a list of which SKU that got imported in magmi. – martin Feb 1 '13 at 16:34
  • what version are you using ? – dweeves Feb 1 '13 at 16:35
  • That would be RELEASE NOTES FOR MAGMI 0.7.18beta1 taken from the release notes file, and the plugins were also downloaded at the same time – martin Feb 1 '13 at 17:31
  • may you try the latest (0.7.18 , no beta) & latest plugins ? – dweeves Feb 1 '13 at 17:35
  • Well, i ditched magmi for just updating images, and instead used Magento product model, actually its not slow at all for this one purpose. I still use Magmi for the data import and also images, but not Magmi just for images – martin Feb 8 '13 at 16:59
0

Please Check the magmi setting you need to assign the directory of images in magmi setting area no need to assign to particular images. magmi automatically pick the location make sure see the permission of folder also.

please follow the steps on below link.

https://www.phpro.be/news/magmi-magento-mass-importer

Not the answer you're looking for? Browse other questions tagged or ask your own question.