Jump to content

CSV Import and images


Recommended Posts

Hi all,

 

I'm looking for help here.

 

I use that link for my goods images: http://site.ru/GoodsImages/image.jpg'>http://site.ru/GoodsImages/image.jpg

 

What prestashop doing when i try import?

 

Script downnload image from http://site.ru/GoodsImages/image.jpg'>http://site.ru/GoodsImages/image.jpg and put to http://site.ru/img/p/'>http://site.ru/img/p/ (or other folder) and after resize each foto on small, medium, large, etc...

 

(can script put images direct from ftp and don't go download images...bc all my images it's near 1gb..)

 

 

It's not right and takes too much time...when i try import 200 positions with 200 images it takes near 1h and i have not bad VPS server with 2,4 Core2duo and 4gb of ram and SAS hdd...

 

Questions:

 

1) When i import my goods can i use other link? like /GoodsImages/image.jpg, with out http://site.ru/ ?? i try alrdy but it not work for me, script don't see images...

 

2) How to do: When import goods script takes only original image, all others sizes i do by myself in admin panel->Configuration->Images->re-generate images option?

 

PS.: I'am rly sorry for my english, i just can't find help in russian section on this forum...

Link to comment
Share on other sites

 

 

Questions:

 

1) When i import my goods can i use other link? like /GoodsImages/image.jpg, with out http://site.ru/ ?? i try but it not work...

 

2) How to do: When import goods script takes only original image, all others sizes i do by myself in admin panel->Configuration->Images->re-generate images option?

 

In your csv file you can use ..//GoodsImages

 

..// stands for your root folder

 

Usually the files will be resized automatically.

Link to comment
Share on other sites

How turn off "auto resize" and "auto scale" while import..? and use after goods import from Configuration->Images->re-generate.

 

Need to make: When i import, import script create only one (original) image for the product and after import I could generate other types of images via a special option in the admin panel...

 

Or made special feature like importing progress bar status to see how much time need for complete operation and how much it takes..

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