Jump to content

Importing a lot of images


Recommended Posts

Hello!

I've a csv file with more than 3000 items and every item has its own image hosted on another webserver.

If i use the prestashop importer i get error 500 (after about 1 minute), so i'm looking for a solution.

Anyone has an importer script that i can run on my local server to import images once?

Thank you!

Link to comment
Share on other sites

Thank you for the reply.

I can not access to the server. In fact to import descriptions I use a simple local script that gets item description from my supplier website, than I simply update my remote database.

But i've seen that with the images import there are some database records to fill, not only one, and then yes, obviously, I have also to create thumbnails and images with a proper name in the right folder. So I think a self-made script it would be the best solution (I will be able to manage items where there is already an image or display "no image available" image when I can't to retrieve the product image), but I think it's also quite difficult.

Obviously, if anyone has the same problem, we can work on a script to do this.

Link to comment
Share on other sites

Ok I see. It would potentially time out even if you had the images locally I think - mine did. That add on certainly helps with regenerating thumbs as it just picks up where you left off instead of giving you an error 500, but I couldn't actually be sure that it would work with initial import.

Link to comment
Share on other sites

  • 1 month later...

I had this same issue. I had over 10,000 products NIGHTMARE.. but I fixed it by just importing 500 products at a time.. I just split the file into 500 products each and spent a day importing.. was not so bad.. just did it between other projects. Very but the problem is the image compiler changes each image it grabs from the URL to the various sizes and it eats up CPU.

I tried it locally too with another site and I had to still do them 500 at a time.. same issue.. CPU used by the compilier.. pisses off your hosts.. so just do 500 products at a time and it will work like a charm. :)

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