Jump to content

Import images problem


Recommended Posts

Hi,

I have search the forum and although there is a lot of threads about this and I have treid most of the suggestions I can't get the images to import with the csv file. I tried changing the php files to generate an id number but this didn't work, also tried the relative path url and still nothing. Is there a fix for this yet please. Ok here's what I have done so far

1) uploaded images to root dir (both /public_html and /
2) uploaded new adminimport.php (to give id number automatically)
3) checked with host that allow_url_fopen enabled
4) set path for url in csv to "../imgimport/HAGRC_B.JPG" (the images are JPG and not jpg, they show fine in the browser.

But I am still not importing the images, I just get the "image not available" box. All other fields come in fine

Running out of patience with this now and may have to ditch it if I can't get it to work, I have to many products to import to upload images one by one.

If anyone can tell me where I am going wrong that would be great.

Link to comment
Share on other sites

  • 3 weeks later...

This is how it worked for me:

I've made a folder at the same level with all the main prestashop's folders (classes, modules, themes... etc.)
I've uploaded all the jpg's there.
In csv file, in the "Image URLs" field I've placed exactly this: "../folder_name/image_name.jpg".
In my csv the separator is ";" and all the fields/cells have " sign around them.

Good luck,

Link to comment
Share on other sites

This is how it worked for me :

I upload all my pictures into http://mydomain.com/imports
gave unique id for the products .... if you don't specify the id ... you will only be able to import one picture for one product with the id there ... you can upload multiple pictures per product.
In CSV file you need to put "http://mydomain.com/imports/product01a.jpg,http://mydomain.com/imports/product01b.jpg"
make sure your CSV file is UTF8 ... by opening it in Notepad and saving it with UTF8 selected.

Regards
Archproject

Link to comment
Share on other sites

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...