Import products with images from CSV

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Posts: 35
Joined: 09 Oct 2019, 09:42

Re: Import products with images from CSV

Post by columbo » 23 Mar 2020, 15:27

I'm not sure if I got it right.
I process a csv file with new and updated products once a day (for csv example see comment from 18 Feb 2020, 12:43)
After the file is processed, images of the new or updated products are not displayed, images of already existing products are still displayed.

I now execute after each csv import:

Code: Select all

artisan aimeos:jobs media/scale
Then all images are displayed correctly.
It seems that this generates new images (thumbnails etc.) for all products, and not only for new or updated products.

Is this the recommended / correct way?
If not, how can I updated / import products with images correctly?

User avatar
Posts: 3787
Joined: 01 Jan 1970, 00:00

Re: Import products with images from CSV

Post by aimeos » 01 Apr 2020, 07:36

Normally, preview images should be automatically generated on import: ... #L172-L185

If this is not the case in your situation, please have a look at into the source code why that happens. Simply add a few debug statements at the code block to see which if/else branch is used. Then, we can see if it's a bug or if your CSV file contains something it shouldn't.
Professional support and custom implementation are available at
If you like Aimeos, Image give us a star

Post Reply