Jump to content

Error importing images with csv


bibob

Recommended Posts

Hello

i used alot of times to get the image import to work, but no luck.

when i import a csv with the prestashop import tool, everything works but i get the folowing

. CSV file has been imported into your store.

Can not copy image: http://www.domain.com/images/1.jpg
Can not copy image: http://www.domain.com/images/2.jpg
Can not copy image: http://www.domain.com/images/3.jpg

i used full url on the csv, without comma or parantes or any thing, like that http://www.domain.com/images/1.jpg
i also activated the "allow_url_fopen" on my settings.

i have also checked the ../img/p folder, and no images have been imported.
i have deleted the whole prestashop and installed it 2 times, and i still got the same problem, so i think something is wrong with the configuration? something with permissions on img folder? the Current permissions for the img and img/tmp folder is 755 .

hope you can help
thanks

Link to comment
Share on other sites

Prestashop actually imports images from the /upload folder.

I suggest you try this method:
1. Ftp your images into your Prestashop's /upload folder
2. Rename all your image import path url to http://www.yourdomain.com/upload/image_number_or_name.jpg in your csv file(s)
3. Test whether it works using 1 to 5 products and images
4. Once it works ok, upload all other images. Break large numbers of image imports into smaller batches (several csv files) to prevent time out.

I import my images (close to 1,000 of them) this way without any problem.

Link to comment
Share on other sites

Hello calisyoda

thank you very much

but i dont have the pictures, i will import them from another website, couse it will take alot of time to save them, so i just want import-copying them directly from the other website, and i cant find what the problem is, i have also tried to import-copy pictures from another website and it still wouldnt.

Link to comment
Share on other sites

Same problem.

I tried sending a test image to the upload folder, through FTP. All permissions are at 777. Every time I do a CSV import, everything uploads but the images.

I get the following:
Error copying image:
http://www.mydomain.com/store/upload/xxxx.jpg

My test file is very small, so size is not the issue. I am curious why the system uploads all images (when doing a manual product update) to the P folder. Also curious why it changes it's image name to a numeric value. I like to use my part numbers, as my image names, so I can quickly modify images from ftp. Not a big deal, but perhaps you get to keep your image names through the upload folder. Just wished it worked for me!

Thanks
Robin

Link to comment
Share on other sites

I was able to get it working in version 1.3.

Never worked with a full url or "../store/upload/image.jpg" But I removed the "/store", and everything worked fine. So it should look like this "../upload/image.jpg" But before you do your import, you must upload the images to the upload folder via FTP. Also make sure your image title, is exactly the same as your CSV data (upper and lower case).

Figured out another problem with CSV import. Every time I uploaded categories (and sub-categories) with CSV, it was messing up. The products were importing successfully with categories, but the products were no where to be found on the BO or featured list of my store's home page. Without it being in the BO, I could not modify or delete the product. I probably spent 10 hours testing, until I figured it out. In order for your import to show up in the BO and home page, you have to list your categories this way "Home,Your Category,Your Sub Category, etc" I was just listing my Category and Sub Category's, without the HOME. S it was still importing my data, but it was bypassing the HOME section. Also make sure you have no spaces after your commas, separating our sub categories.


Robin

Link to comment
Share on other sites

  • 5 months later...
  • 9 months later...
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...