Macki
Macki

Reputation: 31

Magento Image upload using import / export does not work. It upload all the information except images

I have created one product and i want to copy the same product and information for another products where only title will be changed slightly but its picture and other details remains same

So i have downloaded my product that i have created and using CSV file format , i have uploaded it to Magento backend , It worked and sucessfully uploaded the file as i copied all the data from export file

However even though i have given the same image path that is generated by export file , it did not copy the image , All other products are online but without any image!

/k/i/test.jpg

Above is the path that magento gave me when i exported the original product , however it wont work when i upload it again

anyone can solve this mystery ?

Upvotes: 0

Views: 5449

Answers (2)

Dion Truter
Dion Truter

Reputation: 7901

Here is what worked for us:

  1. Make sure that the following directories (and their sub-directories) within the Magento install directory are writable: var and media

  2. Make sure that you have the gd libraries installed (sudo apt-get install php5-gd on ubuntu)

  3. Make sure your images are named correctly in the CSV file. See here: http://blog.mag-manager.com/2013/01/101-magento-import-questions.html

  4. Test that you can edit a product and upload images first. That is how we figured out that the upload was not a problem by itself!

Upvotes: 0

DecryptWeb
DecryptWeb

Reputation: 41

For importing the images, follow this steps

1) All the images should be kept in (your store directory)/media/import , if 'import' directory does not exist, create one.

2) Suppose your images is named 'test.jpg', so copy that image in /media/import, and write the path like '/test.jpg' in the CSV used for importing, don't forget the forward slash.

3) If you want you can create directory inside 'import', suppose you created a directory 'catalog', so the path will be '/catalog/test.jpg' in your CSV import file

4) If you have successfully imported the images, remove the name from CSV for subsequent importing, else duplicate images will be there for products.

Upvotes: 3

Related Questions